diff options
Diffstat (limited to 'src/leap/bitmask/cli')
-rwxr-xr-x | src/leap/bitmask/cli/bitmask_cli.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index 247b6dc7..b418f1af 100755 --- a/src/leap/bitmask/cli/bitmask_cli.py +++ b/src/leap/bitmask/cli/bitmask_cli.py @@ -117,8 +117,7 @@ OPTIONAL ARGUMENTS: return self._send(printer=self._print_status) def _print_status(self, status): - statusdict = json.loads(status) - for key, value in statusdict.items(): + for key, value in status.items(): color = Fore.GREEN if value == 'stopped': color = Fore.RED |