aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAidan Holland <thehappydinoa@gmail.com>2022-10-08 19:12:24 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-08 19:42:30 +0000
commit432782163ae53e605470bcefc9a6f796c4556912 (patch)
treef2d3b66f42702599bbbe2267e6b27349ed970d1c /modules/shared.py
parent610a7f4e1480c0ffeedb2a07dc27ae86bf03c3a8 (diff)
downloadstable-diffusion-webui-gfx803-432782163ae53e605470bcefc9a6f796c4556912.tar.gz
stable-diffusion-webui-gfx803-432782163ae53e605470bcefc9a6f796c4556912.tar.bz2
stable-diffusion-webui-gfx803-432782163ae53e605470bcefc9a6f796c4556912.zip
chore: Fix typos
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/shared.py b/modules/shared.py
index af8dc744..2dc092d6 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -141,9 +141,9 @@ class OptionInfo:
self.section = None
-def options_section(section_identifer, options_dict):
+def options_section(section_identifier, options_dict):
for k, v in options_dict.items():
- v.section = section_identifer
+ v.section = section_identifier
return options_dict
@@ -246,7 +246,7 @@ options_templates.update(options_section(('ui', "User interface"), {
"add_model_hash_to_info": OptionInfo(True, "Add model hash to generation information"),
"font": OptionInfo("", "Font for image grids that have text"),
"js_modal_lightbox": OptionInfo(True, "Enable full page image viewer"),
- "js_modal_lightbox_initialy_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
+ "js_modal_lightbox_initially_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
"show_progress_in_title": OptionInfo(True, "Show generation progress in window title."),
}))