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