mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
Disable 'batch img2img' when launched with --hide-ui-dir-config
Prevent writing to arbitrary directories, as usual
This commit is contained in:
parent
a2bea2f97a
commit
b5d705e263
3 changed files with 7 additions and 4 deletions
|
|
@ -116,7 +116,7 @@ def options_section(section_identifer, options_dict):
|
|||
return options_dict
|
||||
|
||||
|
||||
hide_dirs = {"visible": False} if cmd_opts.hide_ui_dir_config else None
|
||||
hide_dirs = {"visible": not cmd_opts.hide_ui_dir_config}
|
||||
|
||||
options_templates = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue