mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Merge pull request #4567 from CalamitousFelicitousness/fix/lora-null-description
fix(ui): handle null description in network info JSON
This commit is contained in:
@@ -521,7 +521,7 @@ class ExtraNetworksPage:
|
||||
if not isinstance(info, dict):
|
||||
self.desc_time += time.time() - t0
|
||||
return ''
|
||||
desc = info.get('description', '')
|
||||
desc = info.get('description', '') or ''
|
||||
f = HTMLFilter()
|
||||
f.feed(desc)
|
||||
t1 = time.time()
|
||||
|
||||
Reference in New Issue
Block a user