Skip to content

Commit

Permalink
Create the temp directory on ComfyUI startup instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Sep 18, 2024
1 parent 7183fd1 commit 0bfc7cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def cleanup_temp():
if args.quick_test_for_ci:
exit(0)

os.makedirs(folder_paths.get_temp_directory(), exist_ok=True)
call_on_start = None
if args.auto_launch:
def startup_server(scheme, address, port):
Expand Down

0 comments on commit 0bfc7cc

Please sign in to comment.