diff options
author | Iheuzio <97270760+Iheuzio@users.noreply.github.com> | 2023-05-17 16:51:54 +0000 |
---|---|---|
committer | Iheuzio <97270760+Iheuzio@users.noreply.github.com> | 2023-05-17 16:51:54 +0000 |
commit | f5092164e8e452debc889475dbaa163e4f877fda (patch) | |
tree | 888c34a5ed62124879e963f8f07a54fd21315200 /modules/ui_extra_networks.py | |
parent | 89f9faa63388756314e8a1d96cf86bf5e0663045 (diff) | |
download | stable-diffusion-webui-gfx803-f5092164e8e452debc889475dbaa163e4f877fda.tar.gz stable-diffusion-webui-gfx803-f5092164e8e452debc889475dbaa163e4f877fda.tar.bz2 stable-diffusion-webui-gfx803-f5092164e8e452debc889475dbaa163e4f877fda.zip |
Fix typo in syntax
Diffstat (limited to 'modules/ui_extra_networks.py')
-rw-r--r-- | modules/ui_extra_networks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py index 8c3dea56..4f754f43 100644 --- a/modules/ui_extra_networks.py +++ b/modules/ui_extra_networks.py @@ -172,7 +172,7 @@ class ExtraNetworksPage: # if this is true, the item must not be show in the default view, and must instead only be
# shown when searching for it
- serach_only = "/." in local_path or "\\." in local_path
+ search_only = "/." in local_path or "\\." in local_path
args = {
"style": f"'display: none; {height}{width}{background_image}'",
@@ -185,7 +185,7 @@ class ExtraNetworksPage: "save_card_preview": '"' + html.escape(f"""return saveCardPreview(event, {json.dumps(tabname)}, {json.dumps(item["local_preview"])})""") + '"',
"search_term": item.get("search_term", ""),
"metadata_button": metadata_button,
- "serach_only": " search_only" if serach_only else "",
+ "search_only": " search_only" if search_only else "",
}
return self.card_page.format(**args)
|