aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra_networks.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-10 08:37:18 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-10 08:37:18 +0000
commita5121e7a0623db328a9462d340d389ed6737374a (patch)
tree2fa6051d457555ef2d61793af2756a44c0ea221c /modules/extra_networks.py
parent550256db1ce18778a9d56ff343d844c61b9f9b83 (diff)
downloadstable-diffusion-webui-gfx803-a5121e7a0623db328a9462d340d389ed6737374a.tar.gz
stable-diffusion-webui-gfx803-a5121e7a0623db328a9462d340d389ed6737374a.tar.bz2
stable-diffusion-webui-gfx803-a5121e7a0623db328a9462d340d389ed6737374a.zip
fixes for B007
Diffstat (limited to 'modules/extra_networks.py')
-rw-r--r--modules/extra_networks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra_networks.py b/modules/extra_networks.py
index 1978673d..f9db41bc 100644
--- a/modules/extra_networks.py
+++ b/modules/extra_networks.py
@@ -91,7 +91,7 @@ def deactivate(p, extra_network_data):
"""call deactivate for extra networks in extra_network_data in specified order, then call
deactivate for all remaining registered networks"""
- for extra_network_name, extra_network_args in extra_network_data.items():
+ for extra_network_name in extra_network_data:
extra_network = extra_network_registry.get(extra_network_name, None)
if extra_network is None:
continue