Explorar el Código

Merge branch 'pdf_fix' into debug

zwxi hace 9 meses
padre
commit
50b7d247e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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',