From a3db170639d49dc320dc9647286aef5df0d64fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=9D?= Date: Wed, 19 Apr 2023 00:23:35 +0300 Subject: [PATCH] check if group index is not empty --- InitGui.py | 2 ++ 1 file changed, 2 insertions(+) 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)