Explorar o código

one line print

Alex Cheema hai 10 meses
pai
achega
8a69a7a238
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      exo/networking/udp/udp_discovery.py

+ 1 - 2
exo/networking/udp/udp_discovery.py

@@ -79,8 +79,7 @@ class UDPDiscovery(Discovery):
     return [peer_handle for peer_handle, _, _, _ in self.known_peers.values()]
 
   async def task_broadcast_presence(self):
-    if DEBUG_DISCOVERY >= 2:
-      print("Starting task_broadcast_presence...")
+    if DEBUG_DISCOVERY >= 2: print("Starting task_broadcast_presence...")
 
     while True:
       # Explicitly broadcasting on all assigned ips since broadcasting on `0.0.0.0` on MacOS does not broadcast over