mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
Update prestartup_script.py
hotfix
This commit is contained in:
parent
fc6f95b604
commit
5e184362a8
@ -8,6 +8,8 @@ import atexit
|
||||
|
||||
# Logger setup
|
||||
if os.path.exists("comfyui.log"):
|
||||
if os.path.exists("comfyui.prev.log"):
|
||||
os.remove("comfyui.prev.log")
|
||||
os.rename("comfyui.log", "comfyui.prev.log")
|
||||
|
||||
original_stdout = sys.stdout
|
||||
|
||||
Loading…
Reference in New Issue
Block a user