ACTUALLY fix time conversion bug as attempted in 76d7d, grumble, grumble...

This commit is contained in:
Solderpunk 2020-06-14 12:28:34 +02:00
parent 097458754e
commit 96cf8e13fe
1 changed files with 1 additions and 1 deletions

View File

@ -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])