fix: while 循环做card_door_authority的补偿机制4

This commit is contained in:
caoqianming 2023-05-09 08:46:02 +08:00
parent ca1a426182
commit 702ef7641c
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ class HrmService:
time.sleep(6)
try:
dhClient.request(**dhapis['card_door_authority'], json=json_data)
break
except Exception as e:
ind = ind + 1
if ind >= 6: