Skip to content

Commit

Permalink
AGE-Update
Browse files Browse the repository at this point in the history
  • Loading branch information
A. Schulze committed Dec 18, 2023
1 parent 20f390a commit 5150b4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_postfix_discard_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def handle_dsn(filename: str):
file_mod_time = datetime.datetime.fromtimestamp(os.path.getmtime(file))
age = TODAY - file_mod_time

if age.days >= MIN_AGE:
if age.days < MIN_AGE:
handle_dsn(file)
else:
logging.debug("DEBUG: file %s is not older then %s day(s)", file, MIN_AGE)
logging.debug("DEBUG: file %s is older then %s day(s)", file, MIN_AGE)

0 comments on commit 5150b4a

Please sign in to comment.