mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 08:32:10 +01:00
fix: update active maps combo on tab change
This commit is contained in:
1 parent
4d0bb2f4f8
commit
c3e2f6e4b4
13 files changed
+200
-231
No files matched your search
@@ -361,14 +361,14 @@ def details(ip: str, qport: int) -> Details:
|
||||
return Details(rows, description, True)
|
||||
|
||||
|
||||
def ping(iteration: int, row: list) -> Ping:
|
||||
addr = row[7]
|
||||
qport = row[8]
|
||||
def ping(iteration: int, addr: list, qport: int, ping: int) -> Ping:
|
||||
# addr = row[7]
|
||||
# qport = row[8]
|
||||
|
||||
res = None
|
||||
|
||||
if row[9] != 9999:
|
||||
return Ping(addr, iteration, row[9])
|
||||
if ping != 9999:
|
||||
return Ping(addr, iteration, ping)
|
||||
|
||||
try:
|
||||
ip = addr.split(":")[0]
|
||||
|
||||
Reference in new issue
Block a user