diff --git a/InitGui.py b/InitGui.py index 1157011..6eea450 100644 --- a/InitGui.py +++ b/InitGui.py @@ -239,6 +239,7 @@ def globalShortcuts(): index = index.split(",") for i in index: + if not i: continue try: command = (paramGet .GetGroup("Global shortcuts") @@ -287,6 +288,7 @@ def localShortcuts(): index = index.split(",") for i in index: + if not i: continue try: command = (paramGet .GetGroup(activeWB)