Update base.py
change in get_user_template change 'uid ' parameter to not necessary so that if one want to get user template using user_id it can be done .
This commit is contained in:
parent
895912fac3
commit
6cf6f7ab44
@ -1013,7 +1013,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
|
||||
|
Loading…
Reference in New Issue
Block a user