aboutsummaryrefslogtreecommitdiff
path: root/modules/extra_networks.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-31 22:45:16 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-05-31 22:45:16 +0300
commit48875af7a1d72b11d0018afb158c17190b8c643d (patch)
tree3951ec956bdb73df2383f664096ab3cd80201d26 /modules/extra_networks.py
parentdf02498d03e4296b7d7581aff69571a49be1d27a (diff)
fix [Bug]: LoRA don't apply on dropdown list sd_lora #10880
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 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: