Skip to content

Commit ce0b3f2

Browse files
committed
nemo_action_layout_editor.py: Fix non-initialized variable
1 parent 349d8e4 commit ce0b3f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action-layout-editor/nemo_action_layout_editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get_accelerator_string(self):
116116
except KeyError:
117117
pass
118118

119-
return None if accel_string == "" else None
119+
return None
120120

121121
def set_custom_label(self, label):
122122
if not self.row_meta:

0 commit comments

Comments
 (0)