Snake case

main
Bob Mottram 2021-12-26 13:24:20 +00:00
parent 7f0ceaa449
commit 19e1bd2542
1 changed files with 2 additions and 2 deletions

View File

@ -279,9 +279,9 @@ def is_dormant(base_dir: str, nickname: str, domain: str, actor: str,
curr_time = datetime.datetime.utcnow()
curr_days_since_epoch = \
(curr_time - datetime.datetime(1970, 1, 1)).days
timeDiffMonths = \
time_diff_months = \
int((curr_days_since_epoch - days_since_epoch) / 30)
if timeDiffMonths >= dormant_months:
if time_diff_months >= dormant_months:
return True
return False