Browse Source

bin/ircd/meeting_bot: prevent empty messages from breaking sending loop

ghassmo 4 years ago
parent
commit
96fbca1080
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bin/ircd/script/meeting_bot.py

+ 1 - 2
bin/ircd/script/meeting_bot.py

@@ -34,8 +34,7 @@ async def start():
         msg = msg.decode('utf8').strip()
         msg = msg.decode('utf8').strip()
 
 
         if not msg:
         if not msg:
-            print("Error: Receive empty msg")
-            break
+            continue
 
 
         command = msg.split(" ")[1]
         command = msg.split(" ")[1]