rm unnecessary round()

This commit is contained in:
Christian Hagenest
2024-07-08 17:24:01 +02:00
parent 8ad72deeb2
commit 3f197695d9

View File

@@ -31,7 +31,7 @@ def remove_user_data(db: Database, cutoff_date: int, vmail_basedir: Path):
def main():
db = Database(sys.argv[2])
config = read_config(sys.argv[3])
today = round(int(time.time()) // 86400)
today = int(time.time() // 86400)
cutoff_date = today - config.delete_accounts_after
remove_user_data(db, cutoff_date)