소스 검색

one line print

Alex Cheema 10 달 전
부모
커밋
8a69a7a238
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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