mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
fix extra networks startup
This commit is contained in:
@@ -164,7 +164,7 @@ class ExtraNetworksPage:
|
||||
elif hasattr(item, 'sha256') and item.sha256 is not None:
|
||||
current_hash = item.sha256[:8].upper()
|
||||
else:
|
||||
current_hash = None
|
||||
return all_versions
|
||||
for v in info.get('modelVersions', []):
|
||||
for f in v.get('files', []):
|
||||
if any(h.startswith(current_hash) for h in f.get('hashes', {}).values()):
|
||||
|
||||
Reference in New Issue
Block a user