fix(playwright): Prevent launch error when LOCAL_CHROME_PATH is empty

This commit is contained in:
Deroino
2025-11-13 05:08:06 +08:00
parent e003383d65
commit 0cdd088d97
+1 -1
View File
@@ -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)