mirror of
https://github.com/aclist/dztui.git
synced 2026-11-04 00:52:06 +01:00
chore: clean up unused methods
This commit is contained in:
1 parent
95948e3e40
commit
d92a0010e2
4 files changed
+6
-65
No files matched your search
@@ -443,8 +443,10 @@ def response_to_fq_ip(res: dict) -> str:
|
||||
return f"{ip}:{gameport}:{qport}"
|
||||
|
||||
|
||||
# NOTE: Battlemetrics
|
||||
def query_by_id(addr: str, key: str) -> Optional[dict]:
|
||||
"""
|
||||
Used with numeric Battlemetrics IDs
|
||||
"""
|
||||
try:
|
||||
resolved = map_id_to_record(key, addr)
|
||||
return query_direct(resolved.ip, resolved.qport)
|
||||
|
||||
Reference in new issue
Block a user