Parcourir la source

fix help display and password changing

Eren Yilmaz il y a 6 ans
Parent
commit
36e9b16c1d
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 0 1
      client_controller.py
  2. 1 1
      run_client.py

+ 0 - 1
client_controller.py

@@ -132,7 +132,6 @@ def help():
         this_module = sys.modules[__name__]
         method = getattr(this_module, cmd)
         params = signature(method).parameters
-        num_args = len(params)
         command_table.append([cmd] + [p for p in params])
 
     print(_my_tabulate(command_table,tablefmt='pipe',headers=['command',

+ 1 - 1
run_client.py

@@ -55,7 +55,7 @@ To display an overview of available commands type \'help\'.
 allowed_commands = ['help',
                     'login',
                     'register',
-                    'change_password',
+                    'change_pw',
                     'depot',
                     'orders',
                     'news',