main
Bob Mottram 2024-01-27 15:55:10 +00:00
parent 98fb23b7e1
commit b129df0eaa
1 changed files with 1 additions and 1 deletions

View File

@ -2713,7 +2713,7 @@ def no_of_active_accounts_monthly(base_dir: str, months: int) -> bool:
encoding='utf-8') as last_used_file: encoding='utf-8') as last_used_file:
last_used = last_used_file.read() last_used = last_used_file.read()
if last_used.isdigit(): if last_used.isdigit():
time_diff = (curr_time - int(last_used)) time_diff = curr_time - int(last_used)
if time_diff < month_seconds: if time_diff < month_seconds:
account_ctr += 1 account_ctr += 1
break break