Browse Source

commands case insensitive

Eren Yilmaz 6 years ago
parent
commit
11e588da45
1 changed files with 1 additions and 0 deletions
  1. 1 0
      run_client.py

+ 1 - 0
run_client.py

@@ -79,6 +79,7 @@ def one_command():
         # noinspection PySimplifyBooleanCheck
         if cmd == []:
             continue
+        cmd[0] = cmd[0].lower()
         if cmd[0] not in allowed_commands:
             print('Invalid command:', cmd[0])
         else: