File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -484,20 +484,18 @@ def background_launch(extra):
484484
485485
486486def launch_comfyui (extra ):
487- env_path = EnvChecker ().get_isolated_env ()
488487 reboot_path = None
489488
490489 new_env = os .environ .copy ()
491490
492- if env_path is not None :
493- session_path = os .path .join (
494- ConfigManager ().get_config_path (), "tmp" , str (uuid .uuid4 ())
495- )
496- new_env ["__COMFY_CLI_SESSION__" ] = session_path
497- new_env ["PYTHONENCODING" ] = "utf-8"
491+ session_path = os .path .join (
492+ ConfigManager ().get_config_path (), "tmp" , str (uuid .uuid4 ())
493+ )
494+ new_env ["__COMFY_CLI_SESSION__" ] = session_path
495+ new_env ["PYTHONENCODING" ] = "utf-8"
498496
499- # To minimize the possibility of leaving residue in the tmp directory, use files instead of directories.
500- reboot_path = os .path .join (session_path + ".reboot" )
497+ # To minimize the possibility of leaving residue in the tmp directory, use files instead of directories.
498+ reboot_path = os .path .join (session_path + ".reboot" )
501499
502500 extra = extra if extra is not None else []
503501
You can’t perform that action at this time.
0 commit comments