Ver Fonte

one line print

Alex Cheema há 10 meses atrás
pai
commit
8a69a7a238
1 ficheiros alterados com 1 adições e 2 exclusões
  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