fix local chrome

This commit is contained in:
felinae98 2021-02-08 00:46:33 +08:00
parent 074013f197
commit e33f33ac3a
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -20,7 +20,7 @@ class Render(metaclass=Singleton):
self.page = None
async def init(self):
browser = await launch(execublePath='/usr/bin/chromium')
browser = await launch(executablePath='/usr/bin/chromium')
self.page = await browser.newPage()
async def text_to_pic(self, text: str) -> str: