diff options
author | Santo Cariotti <sancn@live.com> | 2017-07-20 17:00:55 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-07-20 17:00:55 +0200 |
commit | e20e83ea4f9696d2702f7cfc3489a66f0c0957ee (patch) | |
tree | 75db37878597ae051fe8a0c2d10e7fecb25d572f | |
parent | 8969490de9e77c1db842d0e5a33be3d82763f9c6 (diff) |
fixed condition length of get command
-rw-r--r-- | lib/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands.py b/lib/commands.py index 1302195..a3d439a 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -34,7 +34,7 @@ class Commands(object): ListCommands.err('personal', e.value) elif what == 'get': try: - if len(cmd) > ListCommands.info['get'][1] and cmd[1] != 'user?': + if len(cmd) > ListCommands.info['get'][1]: raise PersonalError(Colors.grey + 'get ' + Colors.red + 'accetta 2 parametri') if cmd[1] == 'i': |