浏览代码

新框架 bug 暂停

罗俊辉 1 年之前
父节点
当前提交
8b2edb4562
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/main.py

+ 2 - 1
app/main.py

@@ -84,7 +84,8 @@ async def main():
     主函数
     """
     spider_list = TopicGroup().produce()
-    # while spider_list:
+    while spider_list:
+        print("Hello World {}".format(" ".join(spider_list)))
     #     async_tasks = []
     #     for spider in spider_list:
     #         task = asyncio.create_task(consume_single_message(spider))