Skip to content

Commit cc477d2

Browse files
authored
Remove useless code
1 parent f69e4a0 commit cc477d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ def press(k):
3131
kbd.press(Keycode.LEFT_BRACKET)
3232
elif k == 'RIGHT_BRACKET' or k == 'RIGHTBRACKET':
3333
kbd.press(Keycode.RIGHT_BRACKET)
34-
elif k == 'BACKSLASH' or k == 'RETURN':
34+
elif k == 'BACKSLASH':
3535
kbd.press(Keycode.BACKSLASH)
36-
elif k == 'POUND' or k == 'RETURN':
36+
elif k == 'POUND':
3737
kbd.press(Keycode.POUND)
38-
elif k == 'SEMICOLON' or k == 'RETURN':
38+
elif k == 'SEMICOLON':
3939
kbd.press(Keycode.SEMICOLON)
40-
elif k == 'QUOTE' or k == 'RETURN':
40+
elif k == 'QUOTE':
4141
kbd.press(Keycode.QUOTE)
4242
elif k == 'TILDE':
4343
kbd.press(Keycode.GRAVE_ACCENT)

0 commit comments

Comments
 (0)