From 761a72578a98ce2d7f2001d0a9896136502d7ba4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 8 Jul 2023 02:54:09 +0200 Subject: [PATCH] Fixed: - forgot to add [key] (value access) --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 517e445..499ffc1 100755 --- a/daemon.py +++ b/daemon.py @@ -390,7 +390,7 @@ def rss(request: Request, domain: str): format = config.get("timestamp_format") instance = dict() for key in domain_data.keys(): - if key in ["last_nodeinfo", "last_blocked", "first_seen", "last_updated", "last_instance_fetch"] and isinstance(domain_data, float): + if key in ["last_nodeinfo", "last_blocked", "first_seen", "last_updated", "last_instance_fetch"] and isinstance(domain_data[key], float): # Timestamps instance[key] = datetime.utcfromtimestamp(domain_data[key]).strftime(format) else: -- 2.39.5