-
This commit is contained in:
parent
9d33b9f003
commit
f1aae8535f
3
utils.py
3
utils.py
@ -65,7 +65,8 @@ class PingThread(threading.Thread):
|
|||||||
if date is None:
|
if date is None:
|
||||||
return
|
return
|
||||||
delta = datetime.datetime.now() - date
|
delta = datetime.datetime.now() - date
|
||||||
print(delta)
|
print(datetime.datetime.now())
|
||||||
|
print(delta.total_seconds())
|
||||||
if delta.total_seconds() > 30:
|
if delta.total_seconds() > 30:
|
||||||
db.del_image_allocation_id(self.Id)
|
db.del_image_allocation_id(self.Id)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user