commit 96cf8e13fe5714c8cdc754f51eef9f0293b8ca1f
parent 097458754e13b9a3551f36f28b8b822040399c18
Author: Solderpunk <solderpunk@sdf.org>
Date: Sun, 14 Jun 2020 12:28:34 +0200
ACTUALLY fix time conversion bug as attempted in 76d7d, grumble, grumble...
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, 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])