From 0bfc7cc99837a883a0c964956927c42cd1851d17 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Wed, 18 Sep 2024 09:39:43 -0400 Subject: [PATCH] Create the temp directory on ComfyUI startup instead. --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 00b49fc4..f5b633e5 100644 --- a/main.py +++ b/main.py @@ -241,6 +241,7 @@ if __name__ == "__main__": 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):