mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-05-05 17:57:50 +08:00
update scanner.py
- ignore comment-out code update DB
This commit is contained in:
@ -92,6 +92,7 @@ def scan_in_file(filename, is_builtin=False):
|
||||
class_dict = {}
|
||||
|
||||
nodes |= extract_nodes(code)
|
||||
code = re.sub(r'^#.*?$', '', code, flags=re.MULTILINE)
|
||||
|
||||
def extract_keys(pattern, code):
|
||||
keys = re.findall(pattern, code)
|
||||
|
||||
Reference in New Issue
Block a user