summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-07 17:53:11 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-07 17:53:11 -0400
commit1e994786fea5daa16d9f384c24fbc2b2a6280291 (patch)
tree759b8983d61e1e8388951e9ef811a6dcf7a7d9a8 /src
parentaa6f914704e75aa5daa47f49e8da24b2109569fa (diff)
[bug] serialize booleans
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/cli/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/cli/user.py b/src/leap/bitmask/cli/user.py
index 3cea0c5..c34852c 100644
--- a/src/leap/bitmask/cli/user.py
+++ b/src/leap/bitmask/cli/user.py
@@ -48,13 +48,13 @@ SUBCOMMANDS:
def create(self, raw_args):
username = self.username(raw_args)
passwd = getpass.getpass()
- self.data += ['signup', username, passwd, True]
+ self.data += ['signup', username, passwd, 'true']
return self._send(printer=command.default_dict_printer)
def auth(self, raw_args):
username = self.username(raw_args)
passwd = getpass.getpass()
- self.data += ['authenticate', username, passwd, True]
+ self.data += ['authenticate', username, passwd, 'true']
return self._send(printer=command.default_dict_printer)
def logout(self, raw_args):