mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 23:57:09 +08:00
fix
This commit is contained in:
parent
7bb6c476b5
commit
e133470d2d
@ -101,7 +101,7 @@ def init_db():
|
|||||||
# Restore the database from backup if upgrade fails
|
# Restore the database from backup if upgrade fails
|
||||||
shutil.copy(backup_path, db_path)
|
shutil.copy(backup_path, db_path)
|
||||||
os.remove(backup_path)
|
os.remove(backup_path)
|
||||||
logging.exception(f"Error upgrading database: ")
|
logging.exception("Error upgrading database: ")
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
global Session
|
global Session
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user