MCPcopy
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / get_web_ext_dir

Function get_web_ext_dir

pysssss.py:57–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56
57def get_web_ext_dir():
58 config = get_extension_config()
59 name = config["name"]
60 dir = get_comfy_dir("web/extensions/pysssss")
61 if not os.path.exists(dir):
62 os.makedirs(dir)
63 dir = os.path.join(dir, name)
64 return dir
65
66
67def get_extension_config(reload=False):

Callers 1

install_jsFunction · 0.85

Calls 2

get_extension_configFunction · 0.85
get_comfy_dirFunction · 0.85

Tested by

no test coverage detected