Parcourir la source

Merge branch 'pdf_fix' into debug

zwxi il y a 9 mois
Parent
commit
50b7d247e2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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',