Merge pull request #4567 from CalamitousFelicitousness/fix/lora-null-description

fix(ui): handle null description in network info JSON
This commit is contained in:
Vladimir Mandic
2026-01-19 08:12:29 +01:00
committed by GitHub
+1 -1
View File
@@ -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()