]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix logging formatting
authorBob Halley <halley@dnspython.org>
Fri, 9 Jan 2026 14:28:30 +0000 (06:28 -0800)
committerBob Halley <halley@dnspython.org>
Fri, 9 Jan 2026 14:28:30 +0000 (06:28 -0800)
examples/ddns_server.py

index c69c99469a7f7143b24de3cd9de16f0d23c7abad..4bd99b14a904747030beb341952317e9b8d7d672 100644 (file)
@@ -76,7 +76,7 @@ async def main():
     port = 8053
 
     logging.basicConfig(level=logging.INFO)
-    logging.info("Starting servers at {hostname}:{port}")
+    logging.info(f"Starting servers at {hostname}:{port}")
     loop = asyncio.get_event_loop()
 
     # Start UDP server