ソースを参照

Merge branch 'pdf_fix' into debug

zwxi 9 ヶ月 前
コミット
50b7d247e2
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',