fix: discard malformed server data

This commit is contained in:
aclist committed 2025-08-20 15:58:09 +09:00
1 parent 61f3fd9821
commit 0b433af230
4 files changed
+13 -5

No files matched your search

+5 -1
View File
@@ -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: