Merge pull request #60 from jtarun4625/master

great catch, thanks!
This commit is contained in:
kurenai-ryu 2020-06-10 11:20:02 -04:00 committed by GitHub
commit a36033aac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1024,7 +1024,7 @@ class ZK(object):
if uid == (self.next_uid - 1):
self.next_uid = uid
def get_user_template(self, uid, temp_id=0, user_id=''):
def get_user_template(self, uid = '', temp_id=0, user_id=''):
"""
:param uid: user ID that are generated from device
:param user_id: your own user ID