summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-17 18:16:33 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-19 20:14:26 +0200
commit6bb9e62b3140fa975c55d9934f82cc54745d5da0 (patch)
tree6724309ac820f750973587cae37870b1ce3ea4a0 /src/leap/bitmask/cli
parent1065b3d467cfb662f9b392c0886734368d93aba6 (diff)
[bug] do not fail if error is an int
Diffstat (limited to 'src/leap/bitmask/cli')
-rw-r--r--src/leap/bitmask/cli/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/command.py b/src/leap/bitmask/cli/command.py
index da0c40b..7bc2ce7 100644
--- a/src/leap/bitmask/cli/command.py
+++ b/src/leap/bitmask/cli/command.py
@@ -65,7 +65,7 @@ def print_status(status, depth=0):
line += Fore.RED
line += v['status']
if v['error']:
- line += Fore.RED + " (" + v['error'] + ")"
+ line += Fore.RED + " (%s)" % v['error']
line += Fore.RESET
print(line)