Преглед на файлове

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',