From 96cf8e13fe5714c8cdc754f51eef9f0293b8ca1f Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sun, 14 Jun 2020 12:28:34 +0200 Subject: [PATCH] ACTUALLY fix time conversion bug as attempted in 76d7d, grumble, grumble... --- av98.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av98.py b/av98.py index a0e7374..ee5a8d6 100755 --- 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])