fananimi / pyzk

Unofficial library of zkteco fingerprint attendance machine
GNU General Public License v2.0
498 stars 330 forks source link

clear_data #141

Closed josuecb95 closed 2 years ago

josuecb95 commented 2 years ago

Error in clear_data In the installable version (pip install pyzk) it has a bug in the clear_data function that has been resolved here in the code. If you could update the installer with the latest changes please.

More precisely, the error is in:

command_string = ''

And here it is solved with:

command_string = b''

kurenai-ryu commented 2 years ago

we need @fananimi to update the pypi version