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)