Fixed local DB import not saving if no tourney is set
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user