diff --git a/utils.py b/utils.py index b797732..9a3704f 100644 --- a/utils.py +++ b/utils.py @@ -65,7 +65,8 @@ class PingThread(threading.Thread): if date is None: return delta = datetime.datetime.now() - date - print(delta) + print(datetime.datetime.now()) + print(delta.total_seconds()) if delta.total_seconds() > 30: db.del_image_allocation_id(self.Id) else: