优化代码
This commit is contained in:
parent
5c99ced2cd
commit
993f077377
|
@ -97,6 +97,7 @@ class PtOperation:
|
|||
return response.text
|
||||
else:
|
||||
logger.error(f"{text} , 出现错误,code码是:{response.status_code}, {response.text}!!!")
|
||||
return ""
|
||||
except Exception as e:
|
||||
time.sleep(2)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue