diff options
Diffstat (limited to 'src/leap/bitmask/cli/command.py')
-rw-r--r-- | src/leap/bitmask/cli/command.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/bitmask/cli/command.py b/src/leap/bitmask/cli/command.py index fd32ab95..a70b2d43 100644 --- a/src/leap/bitmask/cli/command.py +++ b/src/leap/bitmask/cli/command.py @@ -166,15 +166,15 @@ class Command(object): print(json.dumps(obj, indent=2)) elif not obj['error']: if 'result' not in obj: - print (Fore.RED + 'ERROR: malformed response, expected' - ' obj["result"]' + Fore.RESET) + print(Fore.RED + 'ERROR: malformed response, expected' + ' obj["result"]' + Fore.RESET) elif obj['result'] is None: - print (Fore.RED + 'ERROR: empty response. Check logs.' + - Fore.RESET) + print(Fore.RED + 'ERROR: empty response. Check logs.' + + Fore.RESET) else: return printer(obj['result']) else: - print Fore.RED + 'ERROR: ' + '%s' % obj['error'] + Fore.RESET + print(Fore.RED + 'ERROR: ' + '%s' % obj['error'] + Fore.RESET) def _timeout_handler(self, failure, errb): if failure.trap(ZmqRequestTimeoutError) == ZmqRequestTimeoutError: |