This commit is contained in:
Mateusz779 2023-04-21 10:54:04 +02:00
parent 9d33b9f003
commit f1aae8535f

View File

@ -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: