浏览代码

Fix hidden stdout in the end of labours.py

Vadim Markovtsev 7 年之前
父节点
当前提交
185fa9713c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      labours.py

+ 1 - 0
labours.py

@@ -884,6 +884,7 @@ def main():
 
 
     if web_server.running:
     if web_server.running:
         print("Sleeping for 60 seconds, safe to Ctrl-C")
         print("Sleeping for 60 seconds, safe to Ctrl-C")
+        sys.stdout.flush()
         try:
         try:
             time.sleep(60)
             time.sleep(60)
         except KeyboardInterrupt:
         except KeyboardInterrupt: