minor fix get_users function

This commit is contained in:
Fanani M. Ihsan 2016-05-27 10:15:13 +07:00
parent 362a0b91be
commit 16acb77cbe

View File

@ -305,6 +305,9 @@ class ZK(object):
'message': 'failed', 'message': 'failed',
'data': '' 'data': ''
} }
else:
cmd_response['data'] = ''
return cmd_response
else: else:
cmd_response['data'] = '' cmd_response['data'] = ''
return cmd_response return cmd_response