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