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:
jtarun4625 2019-11-18 12:32:34 +05:30 committed by GitHub
parent 895912fac3
commit 6cf6f7ab44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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