missing binary string (bytes) for python3
This commit is contained in:
kurenai-ryu 2019-12-30 10:40:14 -04:00 committed by GitHub
parent 895912fac3
commit ee18d7f14e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1338,7 +1338,7 @@ class ZK(object):
:return: bool
"""
command = const.CMD_CLEAR_DATA
command_string = ''
command_string = b''
cmd_response = self.__send_command(command, command_string)
if cmd_response.get('status'):
self.next_uid = 1