update google drive file link in json
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user