]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 21 Nov 2023 23:25:07 +0000 (00:25 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 21 Nov 2023 23:25:07 +0000 (00:25 +0100)
- ops, fixed syntax error

daemon.py

index 5ee0181a81ef5db068dcd13c4d8942548908a8d7..cd91932acc654156435419724f3e77b2c6176705 100755 (executable)
--- 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: