commit 76d7d23a2abb95657d5a232b367f6ad6ba402e53
parent afa67f40aee40af1dc57d005359a26ea0bc37b8f
Author: Solderpunk <solderpunk@sdf.org>
Date: Sat, 13 Jun 2020 15:36:05 +0200
Fix time conversion bug in blackbox command.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/av98.py b/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, 36060)
+ hours, remainder = divmod(delta, 36000)
minutes, seconds = divmod(remainder, 60)
# Count hosts
ipv4_hosts = len([host for host in self.visited_hosts if host[0] == socket.AF_INET])