aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra_networks.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-06-27 05:38:14 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-06-27 05:38:14 +0000
commit394ffa7b0a7fff3ec484bcd084e673a8b301ccc8 (patch)
treeb0e9b9d93f90b5d50084292a48578bd4f9a83ec6 /modules/extra_networks.py
parentbaf6946e06249c5af9851c60171692c44ef633e0 (diff)
parentdbc88c96450793b08b520f3b86cd46d6aeaaae52 (diff)
downloadstable-diffusion-webui-gfx803-394ffa7b0a7fff3ec484bcd084e673a8b301ccc8.tar.gz
stable-diffusion-webui-gfx803-394ffa7b0a7fff3ec484bcd084e673a8b301ccc8.tar.bz2
stable-diffusion-webui-gfx803-394ffa7b0a7fff3ec484bcd084e673a8b301ccc8.zip
Merge branch 'release_candidate'
Diffstat (limited to 'modules/extra_networks.py')
-rw-r--r--modules/extra_networks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/extra_networks.py b/modules/extra_networks.py
index f4743928..1f093df2 100644
--- a/modules/extra_networks.py
+++ b/modules/extra_networks.py
@@ -32,6 +32,9 @@ class ExtraNetworkParams:
else:
self.positional.append(item)
+ def __eq__(self, other):
+ return self.items == other.items
+
class ExtraNetwork:
def __init__(self, name):