update google drive file link in json

This commit is contained in:
Jason Lee
2024-03-09 18:06:48 +08:00
parent d68e7369b7
commit 2291af394f
16 changed files with 117 additions and 60 deletions

View File

@@ -1075,8 +1075,8 @@ def get_data_delete_automacally(env, config: Dict[str, str]):
try:
content = env.controller.get_file(preference_file_path)
data = json.loads(content)
data_delete_state = data["profile"]["exit_type"]
return data_delete_state
data_delete_state = data["profile"].get("default_content_setting_values", None)
return "true" if data_delete_state is not None else "false"
except Exception as e:
logger.error(f"Error: {e}")
return "Google"