From 16acb77cbe7ccb80a2a5322d2d5a1b0b532b520b Mon Sep 17 00:00:00 2001 From: "Fanani M. Ihsan" Date: Fri, 27 May 2016 10:15:13 +0700 Subject: [PATCH] minor fix get_users function --- zk/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zk/base.py b/zk/base.py index 969b14d..7177aa4 100644 --- a/zk/base.py +++ b/zk/base.py @@ -305,6 +305,9 @@ class ZK(object): 'message': 'failed', 'data': '' } + else: + cmd_response['data'] = '' + return cmd_response else: cmd_response['data'] = '' return cmd_response