diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-27 18:27:07 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-27 18:27:07 +0000 |
commit | e422f19ee9f78066ec023d6b3b0a307a677c6ad9 (patch) | |
tree | 5b03ad1f9a76d0f9317067e319652db44e358793 /modules/shared_cmd_options.py | |
parent | 896fde789ee69bd5dd2a829def0878793aa28079 (diff) | |
download | stable-diffusion-webui-gfx803-e422f19ee9f78066ec023d6b3b0a307a677c6ad9.tar.gz stable-diffusion-webui-gfx803-e422f19ee9f78066ec023d6b3b0a307a677c6ad9.tar.bz2 stable-diffusion-webui-gfx803-e422f19ee9f78066ec023d6b3b0a307a677c6ad9.zip |
non-local condition
Diffstat (limited to 'modules/shared_cmd_options.py')
-rw-r--r-- | modules/shared_cmd_options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared_cmd_options.py b/modules/shared_cmd_options.py index af24938b..dd93f520 100644 --- a/modules/shared_cmd_options.py +++ b/modules/shared_cmd_options.py @@ -15,4 +15,4 @@ else: cmd_opts, _ = parser.parse_known_args()
-cmd_opts.disable_extension_access = (cmd_opts.share or cmd_opts.listen or cmd_opts.server_name) and not cmd_opts.enable_insecure_extension_access
+cmd_opts.disable_extension_access = any([cmd_opts.share, cmd_opts.listen, cmd_opts.ngrok, cmd_opts.server_name]) and not cmd_opts.enable_insecure_extension_access
|