mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
fix: discard malformed server data
This commit is contained in:
1 parent
61f3fd9821
commit
0b433af230
4 files changed
+13
-5
No files matched your search
+5
-1
@@ -88,7 +88,11 @@ def parse_json(json: list) -> list:
|
||||
except KeyError:
|
||||
continue
|
||||
|
||||
r = row["gametype"].split(",")
|
||||
try:
|
||||
r = row["gametype"].split(",")
|
||||
except KeyError:
|
||||
continue
|
||||
|
||||
if "no3rd" in r:
|
||||
view = "1PP"
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user