export_summary.txt wird nicht mehr erstellt
Dieser Commit ist enthalten in:
@ -274,40 +274,7 @@ class ProfileExportController:
|
||||
logger.error(f"Fehler beim Export von {username}: {e}")
|
||||
failed_accounts.append(username)
|
||||
|
||||
# 5. Summary-Datei erstellen
|
||||
summary_path = os.path.join(save_directory, "export_summary.txt")
|
||||
with open(summary_path, 'w', encoding='utf-8') as f:
|
||||
f.write(f"AccountForge Batch-Export\n")
|
||||
f.write(f"="*50 + "\n\n")
|
||||
f.write(f"Exportiert am: {datetime.now().strftime('%d.%m.%Y %H:%M:%S')}\n")
|
||||
f.write(f"Anzahl Accounts: {len(accounts_data)}\n")
|
||||
f.write(f"Erfolgreich: {len(accounts_data) - len(failed_accounts)}\n")
|
||||
if failed_accounts:
|
||||
f.write(f"Fehlgeschlagen: {len(failed_accounts)}\n")
|
||||
f.write(f"\nFormate: {', '.join(formats).upper()}\n")
|
||||
f.write(f"\n" + "="*50 + "\n\n")
|
||||
|
||||
# Gruppiere nach Plattform
|
||||
platforms = {}
|
||||
for account_data in accounts_data:
|
||||
platform = account_data.get("platform", "unknown").lower()
|
||||
if platform not in platforms:
|
||||
platforms[platform] = []
|
||||
platforms[platform].append(account_data.get("username", ""))
|
||||
|
||||
for platform, usernames in sorted(platforms.items()):
|
||||
f.write(f"{platform.capitalize()}:\n")
|
||||
for username in usernames:
|
||||
if username in failed_accounts:
|
||||
f.write(f" ✗ {username} (FEHLER)\n")
|
||||
else:
|
||||
f.write(f" ✓ {username}\n")
|
||||
f.write(f"\n")
|
||||
|
||||
exported_files.append("export_summary.txt")
|
||||
logger.info("Summary-Datei erstellt")
|
||||
|
||||
# 6. Erfolgs-Dialog anzeigen
|
||||
# 5. Erfolgs-Dialog anzeigen
|
||||
show_export_success(
|
||||
parent_widget,
|
||||
exported_files,
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren