zwxi 9 달 전
부모
커밋
dd372bacef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/smart_report.go

+ 1 - 1
services/smart_report.go

@@ -142,7 +142,7 @@ import asyncio
 from pyppeteer import launch
 
 @asyncio.coroutine
-def main():
+async def main():
     # 异步代码
     browser = await launch({
         'executablePath': '%s',