This commit is contained in:
Mateusz Gruszczyński
2025-05-16 12:32:21 +02:00
parent bad138b96a
commit 4d640c526e
2 changed files with 16 additions and 14 deletions

4
app.py
View File

@ -233,6 +233,10 @@ def main():
skipped_with_points += 1
continue
if (user.get('post_count') or 0) > 0:
# Pomijamy użytkownika, który dodał treści
continue
# Pomijanie aktywnych "weteranów"
created_year = datetime.datetime.fromtimestamp(user['created']).year if user.get('created') else None
recent_login_threshold = now_ts - (args.recent_login_days * 86400)