diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-06-04 04:24:44 +0900 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-06-04 04:24:44 +0900 |
commit | f098e726d3e63aae8a6276ce83c55ac905c4379c (patch) | |
tree | a91561589af392ad64f2bfa398e94d341ed571ce /modules/extra_networks.py | |
parent | 30bbb8bce377e627be6c582315691358d9b611d8 (diff) |
fix conds caching with extra network
Diffstat (limited to 'modules/extra_networks.py')
-rw-r--r-- | modules/extra_networks.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/extra_networks.py b/modules/extra_networks.py index f4743928..5c5c9a53 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 and self.positional == other.positional and self.named == other.named
+
class ExtraNetwork:
def __init__(self, name):
|