From 49197239a40af7452ce1cd9315e64670d2582189 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 22 Nov 2023 00:25:07 +0100 Subject: [PATCH] Continued: - ops, fixed syntax error --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 5ee0181..cd91932 100755 --- a/daemon.py +++ b/daemon.py @@ -447,7 +447,7 @@ def infos(request: Request, domain: str): tformat = 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[key], 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(tformat) else: -- 2.39.5