From 6b09d39d0e9dbaa6b5e06d5db9b5edff2b1ef3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=89=E5=B9=BF?= Date: Sun, 25 Jun 2023 00:16:52 +0800 Subject: [PATCH] fix[front]generate route --- src/tools/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/generate.py b/src/tools/generate.py index 43206abca..84f3a9de6 100644 --- a/src/tools/generate.py +++ b/src/tools/generate.py @@ -47,7 +47,7 @@ async def generate(html: str, web: bool = False, locate: str = None, first: bool if web: pass html = Path(html).as_uri() - result = generate_by_url(html, locate, first, delay) + result = await generate_by_url(html, locate, first, delay) if result is None: return False return result