Update browser.py

This commit is contained in:
HibiKier 2022-06-15 10:08:43 +08:00 committed by GitHub
parent a84cab7afd
commit af30285c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ async def get_browser(**kwargs) -> Browser:
return _browser or await init(**kwargs)
# @driver.on_startup
@driver.on_startup
def install():
"""自动安装、更新 Chromium"""
logger.info("正在检查 Chromium 更新")