mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-19 01:37:00 +08:00
remove print
This commit is contained in:
parent
02207e0576
commit
219cea92d2
@ -271,7 +271,6 @@ class PromptServer():
|
|||||||
files = []
|
files = []
|
||||||
for dirpath, directories, file in os.walk(dir):
|
for dirpath, directories, file in os.walk(dir):
|
||||||
for file in file:
|
for file in file:
|
||||||
print(directories, file)
|
|
||||||
if(file.endswith(".json")):
|
if(file.endswith(".json")):
|
||||||
files.append(os.path.relpath(os.path.join(dirpath, file), dir))
|
files.append(os.path.relpath(os.path.join(dirpath, file), dir))
|
||||||
return web.json_response(list(map(lambda f: os.path.splitext(f)[0].replace("\\", "/"), files)))
|
return web.json_response(list(map(lambda f: os.path.splitext(f)[0].replace("\\", "/"), files)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user