Fixed local DB import not saving if no tourney is set

This commit is contained in:
Mathias Lesauvage
2025-09-20 23:40:52 +02:00
parent 6f3dc8f7f5
commit c372426a23
+3
View File
@@ -74,6 +74,9 @@ class TSHPlayerDB:
player["mains"] = {}
logger.error(f"No mains found for: {tag}")
TSHPlayerDB.SaveDB()
TSHPlayerDB.SetupModel()
except Exception as e:
logger.error(traceback.format_exc())