소스 검색

fix:报告pdf生成时,python版本兼容的问题

Roc 9 달 전
부모
커밋
d46753fe5e
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      services/smart_report.go

+ 0 - 1
services/smart_report.go

@@ -141,7 +141,6 @@ func ReportToPdf(reportUrl, filePath string) (err error) {
 import asyncio
 from pyppeteer import launch
 
-@asyncio.coroutine
 async def main():
     # 异步代码
     browser = await launch({