Description
I get an issue with the Impact wildcard processor -
Traceback (most recent call last):
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension_init_.py", line 50, in save_as_script
ComfyUItoPython(workflow=workflow, output_file=sio)
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 544, in init
self.execute()
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 573, in execute
generated_code = code_generator.generate_workflow(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 290, in generate_workflow
final_code = self.assemble_python_code(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 413, in assemble_python_code
final_code = black.format_str(final_code, mode=black.Mode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src\black_init_.py", line 1204, in format_str
File "src\black_init_.py", line 1218, in _format_str_once
File "src\black\parsing.py", line 98, in lib2to3_parse
black.parsing.InvalidInput: Cannot parse: 130:620: impactwildcardprocessor_61 = impactwildcardprocessor.doit(wildcard_text="[some text with wildcard macro expansions]", populated_text="[Some text with the wildcards expanded]", mode=True, seed=random.randint(1, 2**64), Select to add Wildcard="Select the Wildcard to add to the text")