From 6f1714d100d66570c0136c5671ac13b91b422c0b Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 5 Dec 2024 01:46:35 -0600 Subject: [PATCH] Common needs timedelta --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index 099b2a6..532d26c 100755 --- a/common.py +++ b/common.py @@ -16,7 +16,7 @@ # along with this program. If not, see . import os -from datetime import datetime, timezone +from datetime import datetime, timedelta, timezone def clean_old_logs(log_dir, max_age_seconds=86400): now = datetime.now(timezone.utc)