From: Roland Häder Date: Sat, 8 Jul 2023 00:54:09 +0000 (+0200) Subject: Fixed: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=761a72578a98ce2d7f2001d0a9896136502d7ba4;p=fba.git Fixed: - forgot to add [key] (value access) --- 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: