uszkodzone maile

This commit is contained in:
Mateusz Gruszczyński 2025-05-17 09:40:24 +02:00
parent 06716c2274
commit 77f5001593

6
app.py
View File

@ -374,11 +374,10 @@ def main():
user['email_valid'] = not is_fake_email(user['mail']) and not user['temp_email']
if args.only_invalid_emails:
# Nowy tryb: tylko użytkownicy z nieprawidłowymi e-mailami
if not user['email_valid']:
user['inactive'] = False # nie oceniamy nieaktywności
user['inactive'] = True
final_candidates.append(user)
continue # pomijamy dalsze sprawdzanie
continue
# Pomijanie aktywnych "weteranów"
created_year = datetime.datetime.fromtimestamp(user['created']).year if user.get('created') else None
@ -407,6 +406,7 @@ def main():
# Redundant safety filter to exclude any with points
final_candidates = [u for u in final_candidates if (u.get('points') or 0) == 0]
if args.report_domains:
domain_report(final_candidates)