From ee18d7f14ebfc6c4161b1cdd6960ccd2e8a5bd8b Mon Sep 17 00:00:00 2001 From: kurenai-ryu Date: Mon, 30 Dec 2019 10:40:14 -0400 Subject: [PATCH] fix #65 missing binary string (bytes) for python3 --- zk/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk/base.py b/zk/base.py index 3c8853d..9c27de5 100644 --- a/zk/base.py +++ b/zk/base.py @@ -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