From 0cdd088d979b0e0936b9bc2bc32f0e985d2fe929 Mon Sep 17 00:00:00 2001 From: Deroino <117969239+Deroino@users.noreply.github.com> Date: Thu, 13 Nov 2025 05:08:06 +0800 Subject: [PATCH] fix(playwright): Prevent launch error when LOCAL_CHROME_PATH is empty --- uploader/tencent_uploader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/tencent_uploader/main.py b/uploader/tencent_uploader/main.py index 0f9d76a..e3ddfd8 100644 --- a/uploader/tencent_uploader/main.py +++ b/uploader/tencent_uploader/main.py @@ -89,7 +89,7 @@ class TencentVideo(object): self.publish_date = publish_date self.account_file = account_file self.category = category - self.local_executable_path = LOCAL_CHROME_PATH + self.local_executable_path = LOCAL_CHROME_PATH or None async def set_schedule_time_tencent(self, page, publish_date): label_element = page.locator("label").filter(has_text="定时").nth(1)