Skip to content

Commit 91efb7a

Browse files
committed
Fix "Right Strick" typo
1 parent e6115cd commit 91efb7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scc/gui/action_editor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ def set_action(self, action, from_custom: bool = False) -> None:
870870
self._action = action
871871
action = self.generate_modifiers(action, from_custom)
872872

873-
if hasattr(action, 'string') and "\n" not in action.string:
873+
if hasattr(action, "string") and "\n" not in action.string:
874874
# Stuff generated by my special parser
875875
entAction.set_text(action.string)
876876
else:
@@ -1104,11 +1104,11 @@ def set_input(self, id, action, mode=None):
11041104
if id == Profile.DPAD:
11051105
self.set_title(_("DPAD"))
11061106
elif id == Profile.RSTICK:
1107-
self.set_title(_("Right Strick"))
1107+
self.set_title(_("Right Stick"))
11081108
elif id == Profile.STICK:
11091109
self.set_title(_("Stick"))
11101110
else:
1111-
raise ValueError("unknown id %s" % (id, ))
1111+
raise ValueError(f"unknown id {id}")
11121112
self._set_mode(action, mode or Action.AC_STICK)
11131113
self.set_action(action)
11141114
self.hide_macro()

0 commit comments

Comments
 (0)