mirror of
https://github.com/Physton/sd-webui-prompt-all-in-one.git
synced 2026-04-30 19:21:43 +00:00
fix bug #250
This commit is contained in:
@@ -67,11 +67,12 @@ def get_extra_networks():
|
||||
pass
|
||||
|
||||
# 过滤掉不需要的字段
|
||||
for filter in filters:
|
||||
if filter in item:
|
||||
del item[filter]
|
||||
newItem = {}
|
||||
for key in item:
|
||||
if key not in filters:
|
||||
newItem[key] = item[key]
|
||||
|
||||
result_item['items'].append(item)
|
||||
result_item['items'].append(newItem)
|
||||
|
||||
result.append(result_item)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user