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

+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version="6.0.0-beta.4"
version="6.0.0-beta.5"
#CONSTANTS
aid=221100
+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: