diff options
Diffstat (limited to 'lib/listcommands.py')
-rw-r--r-- | lib/listcommands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/listcommands.py b/lib/listcommands.py index 987aeb5..869f475 100644 --- a/lib/listcommands.py +++ b/lib/listcommands.py @@ -27,9 +27,9 @@ Se utilizzato con il "flag" i, si possono visualizzare le info: get i host, get @staticmethod def err(err, info = ''): - if err == 'keyword': + if err == 'KeyError': sys.stderr.write(RED + 'keyword inesistente\n' + BLACK) - elif err == 'wrong': + elif err == 'IndexError': sys.stderr.write(RED + 'sintassi comando errata\n' + BLACK) elif err == 'personal': sys.stderr.write(RED + str(info) + '\n' + BLACK) |