Ver Fonte

运行方式调整

rambo há 8 meses atrás
pai
commit
4c825eff14
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      python/index.py

+ 3 - 3
python/index.py

@@ -32,9 +32,9 @@ async def run_server():
     await server.serve()
 
 async def main():
-    await init_load_source().load_source()
-    await run_server()
-    # await  asyncio.gather(run_server(), init_load_source().load_source())
+    # await init_load_source().load_source()
+    # await run_server()
+    await  asyncio.gather(run_server(), init_load_source().load_source())
 
 
 if __name__ == "__main__":