From e20e83ea4f9696d2702f7cfc3489a66f0c0957ee Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 20 Jul 2017 17:00:55 +0200 Subject: fixed condition length of get command --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/commands.py') 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': -- cgit v1.2.3-18-g5258