2024-03-18, change default values

master
Your Name 2024-04-01 12:54:55 +08:00
parent 7b9a933941
commit d76f6d8161
1 changed files with 8 additions and 7 deletions

View File

@ -2890,6 +2890,7 @@ def sync_status_to_extension(status):
webdriver_path = os.path.join(Root_Dir, "webdriver") webdriver_path = os.path.join(Root_Dir, "webdriver")
target_path = os.path.join(webdriver_path, CONST_MAXBOT_EXTENSION_NAME) target_path = os.path.join(webdriver_path, CONST_MAXBOT_EXTENSION_NAME)
target_path = os.path.join(target_path, "data") target_path = os.path.join(target_path, "data")
if os.path.exists(target_path):
target_path = os.path.join(target_path, CONST_MAXBOT_EXTENSION_STATUS_JSON) target_path = os.path.join(target_path, CONST_MAXBOT_EXTENSION_STATUS_JSON)
#print("save as to:", target_path) #print("save as to:", target_path)
status_json={} status_json={}