update scanner.py

update DB
This commit is contained in:
Dr.Lt.Data
2023-09-01 21:49:50 +09:00
parent 5e9926d036
commit a9ac832667
3 changed files with 8 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import json
from git import Repo
from torchvision.datasets.utils import download_url
builtin_nodes = ["KSampler"]
def scan_in_file(filename):
try:
@@ -61,8 +62,13 @@ def scan_in_file(filename):
key, value = line[1:].strip().split(':')
metadata[key.strip()] = value.strip()
for x in builtin_nodes:
if x in nodes:
nodes.remove(x)
return nodes, metadata
def get_py_file_paths(dirname):
file_paths = []