Fix some bugs..

This commit is contained in:
sepehr 2024-07-31 17:42:42 +03:30
parent ef3ce0e133
commit b220c6b98a
3 changed files with 3 additions and 6 deletions

View file

@ -78,12 +78,8 @@ class Auth(BaseModel):
auth=auth.where(Auth.started > timestamp-2,Auth.started < timestamp+2)
time.sleep(0.3)
count+=1
log.error(count)
else:
auth=False
log.error(auth)
if auth:
log.error(list(auth))
if auth and len(list(auth))>0:
auth=list(auth)
for a in auth: