aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared_items.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-01 14:25:30 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2024-01-01 14:25:30 +0000
commit5d7d1823afab0a051a3fbbdb3213bae8051350b7 (patch)
tree1c718b1a935fe5c2cc7861e647960f12aecff124 /modules/shared_items.py
parent1ffdedc11d49862cf0d030fb0bcc25eb0449939b (diff)
downloadstable-diffusion-webui-gfx803-5d7d1823afab0a051a3fbbdb3213bae8051350b7.tar.gz
stable-diffusion-webui-gfx803-5d7d1823afab0a051a3fbbdb3213bae8051350b7.tar.bz2
stable-diffusion-webui-gfx803-5d7d1823afab0a051a3fbbdb3213bae8051350b7.zip
rename infotext.py again, this time to infotext_utils.py; I didn't realize infotext would be used for variable names in multiple places, which makes it awkward to import the module; also fix the bug I caused by this rename that breaks tests
Diffstat (limited to 'modules/shared_items.py')
-rw-r--r--modules/shared_items.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/shared_items.py b/modules/shared_items.py
index e1392472..13fb2814 100644
--- a/modules/shared_items.py
+++ b/modules/shared_items.py
@@ -67,14 +67,14 @@ def reload_hypernetworks():
def get_infotext_names():
- from modules import infotext, shared
+ from modules import infotext_utils, shared
res = {}
for info in shared.opts.data_labels.values():
if info.infotext:
res[info.infotext] = 1
- for tab_data in infotext.paste_fields.values():
+ for tab_data in infotext_utils.paste_fields.values():
for _, name in tab_data.get("fields") or []:
if isinstance(name, str):
res[name] = 1