From: Roland Häder Date: Tue, 21 Nov 2023 23:25:07 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49197239a40af7452ce1cd9315e64670d2582189;p=fba.git Continued: - ops, fixed syntax error --- 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: