]> git.mxchange.org Git - fba.git/blobdiff - fba/networks/peertube.py
Continued:
[fba.git] / fba / networks / peertube.py
index a493139dca0836c900d65b02d85e2a38af40be78..f8813d1a2b14f9cdecfbdc9cf0bac6450ebaaaab 100644 (file)
@@ -64,7 +64,7 @@ def fetch_peers(domain: str) -> list:
                             print(f"WARNING: record from '{domain}' has no '{mode}' or 'host' record: {record}")
 
                     if len(data["json"]["data"]) < 100:
-                        print("DEBUG: Reached end of JSON response:", domain)
+                        print(f"DEBUG: Reached end of JSON response, domain='{domain}'")
                         break
 
                 # Continue with next row
@@ -76,5 +76,5 @@ def fetch_peers(domain: str) -> list:
     print(f"DEBUG: Updating last_instance_fetch for domain='{domain}' ...")
     instances.update_last_instance_fetch(domain)
 
-    print("DEBUG: Returning peers[]:", type(peers))
+    print(f"DEBUG: Returning peers[]='{type(peers)}'")
     return peers