summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/bitmask_cli.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-05-11 18:55:40 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-11 19:01:04 +0200
commit293102094bab00f15bdba90e230f010d18704a89 (patch)
treeff8772979f59e14672c4237fc44c696b98cabafc /src/leap/bitmask/cli/bitmask_cli.py
parent0a1545ce2ee9de30f583685504932bcc98c601f5 (diff)
[bug] return core status as json instead of string
- Resolves: #8886
Diffstat (limited to 'src/leap/bitmask/cli/bitmask_cli.py')
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py3
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 247b6dc..b418f1a 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