mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 08:32:10 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
ea1b9facd2
commit
2ebe8cad84
9 files changed
+35
-27
No files matched your search
@@ -381,7 +381,7 @@ def ping(ip: str, qport: int) -> int:
|
||||
if res is None:
|
||||
return 9999
|
||||
else:
|
||||
return res["ping"]
|
||||
return int(res["ping"])
|
||||
except Exception:
|
||||
return 9999
|
||||
|
||||
|
||||
Reference in new issue
Block a user