diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-06-01 18:35:14 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-06-01 18:35:14 +0000 |
commit | b6af0a3809ea869fb180633f9affcae4b199ffcf (patch) | |
tree | ac47f34ac97c08e8f83fb2c90f6977459121e6b5 /modules/extra_networks.py | |
parent | 20ae71faa8ef035c31aa3a410b707d792c8203a3 (diff) | |
parent | 8c3e64f4f6d67076031132b1628daba66dfa1121 (diff) | |
download | stable-diffusion-webui-gfx803-b6af0a3809ea869fb180633f9affcae4b199ffcf.tar.gz stable-diffusion-webui-gfx803-b6af0a3809ea869fb180633f9affcae4b199ffcf.tar.bz2 stable-diffusion-webui-gfx803-b6af0a3809ea869fb180633f9affcae4b199ffcf.zip |
Merge branch 'release_candidate'
Diffstat (limited to 'modules/extra_networks.py')
-rw-r--r-- | modules/extra_networks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra_networks.py b/modules/extra_networks.py index 34a3ba63..f4743928 100644 --- a/modules/extra_networks.py +++ b/modules/extra_networks.py @@ -26,7 +26,7 @@ class ExtraNetworkParams: self.named = {}
for item in self.items:
- parts = item.split('=', 2)
+ parts = item.split('=', 2) if isinstance(item, str) else [item]
if len(parts) == 2:
self.named[parts[0]] = parts[1]
else:
|