chore: drop shrink to fit

This commit is contained in:
aclist committed 2026-04-19 19:18:56 +09:00
1 parent 891abcc049
commit 1715d4c110
7 files changed
+42 -85

No files matched your search

+2 -3
View File
@@ -215,9 +215,8 @@ def query_direct(ip: str, qport: int, TIMEOUT: float = 3.0) -> dict | None:
res["gameport"] = gameport
res["ping"] = ping
return res
except TimeoutError:
return None
except KeyError:
except Exception as e:
logger.critical(e)
return None