JaredTherriault/ComfyUI-JNodes

f-string: unmatched '['

Closed this issue · 3 comments

I get this error when installed on my Runpod setup:

Traceback (most recent call last):
File "/workspace/ComfyUI/nodes.py", line 1906, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/workspace/ComfyUI/custom_nodes/ComfyUI-JNodes/init.py", line 7, in
from .py.server_backend import *
File "/workspace/ComfyUI/custom_nodes/ComfyUI-JNodes/py/server_backend.py", line 268
headers={"Content-Disposition": f"filename="{result["payload"]["filename"]}""})
^^^^^^^
SyntaxError: f-string: unmatched '['

any ideas around it?

Thanks for your report! I submitted a fix yesterday that should have sorted this. Can you pull latest and retry?

The new commit fixed it, thank you.