fix: cast ports to int

This commit is contained in:
aclist committed 2026-04-28 23:28:45 +09:00
1 parent cba884da7e
commit 1be7bddbb4
2 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -503,4 +503,4 @@ def response_to_record(res: dict) -> Record:
ip = res["addr"].split(":")[0]
gameport = res["gameport"]
qport = res["addr"].split(":")[1]
return Record(ip, gameport, qport)
return Record(ip, int(gameport), int(qport))