diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-09 12:06:03 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-09 12:06:03 +0000 |
commit | 7ba8f11688bee1a04b48d8108627fd25ada69721 (patch) | |
tree | 02c1dc953d08129d6fe4d3338df002e8c3f80433 /modules/shared_init.py | |
parent | aa10faa591f1ca0bd93ae3d53a0a4c15a3fbaf82 (diff) | |
download | stable-diffusion-webui-gfx803-7ba8f11688bee1a04b48d8108627fd25ada69721.tar.gz stable-diffusion-webui-gfx803-7ba8f11688bee1a04b48d8108627fd25ada69721.tar.bz2 stable-diffusion-webui-gfx803-7ba8f11688bee1a04b48d8108627fd25ada69721.zip |
fix missing restricted_opts from shared
Diffstat (limited to 'modules/shared_init.py')
-rw-r--r-- | modules/shared_init.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_init.py b/modules/shared_init.py index e7fc18d2..b88d1d8e 100644 --- a/modules/shared_init.py +++ b/modules/shared_init.py @@ -20,6 +20,7 @@ def initialize(): from modules import options, shared_options
shared.options_templates = shared_options.options_templates
shared.opts = options.Options(shared_options.options_templates, shared_options.restricted_opts)
+ shared.restricted_opts = shared_options.restricted_opts
if os.path.exists(shared.config_filename):
shared.opts.load(shared.config_filename)
|