forked from solderpunk/AV-98
Fix time conversion bug in blackbox command.
This commit is contained in:
parent
afa67f40ae
commit
76d7d23a2a
2
av98.py
2
av98.py
|
@ -1459,7 +1459,7 @@ current gemini browsing session."""
|
||||||
# Compute flight time
|
# Compute flight time
|
||||||
now = time.time()
|
now = time.time()
|
||||||
delta = now - self.log["start_time"]
|
delta = now - self.log["start_time"]
|
||||||
hours, remainder = divmod(delta, 36060)
|
hours, remainder = divmod(delta, 36000)
|
||||||
minutes, seconds = divmod(remainder, 60)
|
minutes, seconds = divmod(remainder, 60)
|
||||||
# Count hosts
|
# Count hosts
|
||||||
ipv4_hosts = len([host for host in self.visited_hosts if host[0] == socket.AF_INET])
|
ipv4_hosts = len([host for host in self.visited_hosts if host[0] == socket.AF_INET])
|
||||||
|
|
Loading…
Reference in New Issue