diff --git a/komrade/cli/cli.py b/komrade/cli/cli.py index 3f0c49d..90477a4 100644 --- a/komrade/cli/cli.py +++ b/komrade/cli/cli.py @@ -190,7 +190,7 @@ class CLI(Logger): if not res.get('success'): print('@Operator:',res['status']) return - msgs=res.get('msg') + msgs=res.get('msgs') if not msgs: print('@Operator: No messages.') else: