diff --git a/shotmanager/rendering/rendering_ui.py b/shotmanager/rendering/rendering_ui.py index 4a4874d9..9fff60d3 100644 --- a/shotmanager/rendering/rendering_ui.py +++ b/shotmanager/rendering/rendering_ui.py @@ -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 @@ -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 diff --git a/shotmanager/stampinfo/ui/si_ui.py b/shotmanager/stampinfo/ui/si_ui.py index 17575ca5..16b371c5 100644 --- a/shotmanager/stampinfo/ui/si_ui.py +++ b/shotmanager/stampinfo/ui/si_ui.py @@ -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 @@ -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 diff --git a/shotmanager/ui/sm_ui.py b/shotmanager/ui/sm_ui.py index 7dc222c5..55585667 100644 --- a/shotmanager/ui/sm_ui.py +++ b/shotmanager/ui/sm_ui.py @@ -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 diff --git a/shotmanager/utils/utils_shot_manager.py b/shotmanager/utils/utils_shot_manager.py index 1160d2ab..157c5f30 100644 --- a/shotmanager/utils/utils_shot_manager.py +++ b/shotmanager/utils/utils_shot_manager.py @@ -42,7 +42,7 @@ def getShotManagerAddon(): return sm_addon -def getShotManagerWanring(): +def getShotManagerWarning(): """Return the add-on""" addonWarning = "" sm_addon = getShotManagerAddon() @@ -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"