Skip to content

Commit ec88f42

Browse files
authored
Update PythonBlueBox.py
1 parent 3bc7c5f commit ec88f42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PythonBlueBox.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656

5757
tone_set = user_tones
5858
while True:
59-
commands = input('>>>')
59+
commands = input('>>>').upper()
6060
for command in commands:
61-
if command.upper() is 'U':
61+
if command is 'U':
6262
tone_set = user_tones
6363
continue
64-
elif command.upper() is 'O':
64+
elif command is 'O':
6565
tone_set = op_tones
6666
continue
67-
elif command.upper() is 'P':
67+
elif command is 'P':
6868
time.sleep(length)
6969
continue
7070
try:

0 commit comments

Comments
 (0)