zwxi 9 kuukautta sitten
vanhempi
commit
dd372bacef
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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',