From f1aae8535f4028030d83dc4069dbb46ae6177e4b Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Fri, 21 Apr 2023 10:54:04 +0200 Subject: [PATCH] - --- utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: