mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
improve log
This commit is contained in:
@@ -277,7 +277,7 @@ class Archiver(ABC):
|
||||
retry_at = int(match.group(1))
|
||||
now = datetime.datetime.now().timestamp()
|
||||
should_retry = now >= retry_at
|
||||
logger.debug(f"{should_retry=} as {now=} >= {retry_at=}")
|
||||
logger.debug(f"{should_retry=} since {now=} and {retry_at=}")
|
||||
return should_retry
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user