From 6cf6f7ab44987a781ce396c1dd8cebb74f8a0fde Mon Sep 17 00:00:00 2001 From: jtarun4625 Date: Mon, 18 Nov 2019 12:32:34 +0530 Subject: [PATCH] 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 . --- zk/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk/base.py b/zk/base.py index 3c8853d..a878d56 100644 --- a/zk/base.py +++ b/zk/base.py @@ -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