Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: function name typos #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shotmanager/rendering/rendering_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from ..utils import utils
from ..utils import utils_ui

from shotmanager.utils.utils_shot_manager import getShotManagerWanring
from shotmanager.utils.utils_shot_manager import getShotManagerWarning
from shotmanager.warnings.warnings_ui import drawWarnings


Expand Down Expand Up @@ -65,7 +65,7 @@ def draw_header(self, context):
else:
row.label(text=props.project_name)

addonWarning = getShotManagerWanring()
addonWarning = getShotManagerWarning()
if "" != addonWarning:
betaRow = row.row()
betaRow.alert = True
Expand Down
4 changes: 2 additions & 2 deletions shotmanager/stampinfo/ui/si_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

from shotmanager.utils.utils_ui import collapsable_panel
from shotmanager.utils.utils_os import module_can_be_imported
from shotmanager.utils.utils_shot_manager import getShotManagerWanring
from shotmanager.utils.utils_shot_manager import getShotManagerWarning

from ..operators import debug

Expand Down Expand Up @@ -74,7 +74,7 @@ def draw_header(self, context):
icon = config.icons_col["StampInfo_32"]
row.label(text="", icon_value=icon.icon_id)

addonWarning = getShotManagerWanring()
addonWarning = getShotManagerWarning()
if "" != addonWarning:
betaRow = row.row()
betaRow.alert = True
Expand Down
2 changes: 1 addition & 1 deletion shotmanager/ui/sm_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def draw_header(self, context):
else:
row.label(text=props.project_name)

addonWarning = utils_shot_manager.getShotManagerWanring()
addonWarning = utils_shot_manager.getShotManagerWarning()
if "" != addonWarning:
betaRow = row.row()
betaRow.alert = True
Expand Down
4 changes: 2 additions & 2 deletions shotmanager/utils/utils_shot_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def getShotManagerAddon():
return sm_addon


def getShotManagerWanring():
def getShotManagerWarning():
"""Return the add-on"""
addonWarning = ""
sm_addon = getShotManagerAddon()
Expand All @@ -53,7 +53,7 @@ def getShotManagerWanring():

def getUbisoftName():
"""Return the Ubisoft name only if there is no warning message"""
addonWarning = getShotManagerWanring()
addonWarning = getShotManagerWarning()
if "" != addonWarning:
return ""
return "Ubisoft"
Expand Down