From 1e994786fea5daa16d9f384c24fbc2b2a6280291 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 7 Sep 2016 17:53:11 -0400 Subject: [bug] serialize booleans --- src/leap/bitmask/cli/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/leap/bitmask') 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): -- cgit v1.2.3