diff --git a/__init__.py b/__init__.py index be9eed6..f197283 100644 --- a/__init__.py +++ b/__init__.py @@ -56,8 +56,9 @@ for AppSetting in AppSettings: formatted_response = json.dumps(response.json(), indent=4) log.debug(f"Formatted {AppSetting}") - with open(os.path.join(DST_DIR, f"{AppSetting}.json"), "w") as f: + expected_path = os.path.join(DST_DIR, f"{AppSetting}.json") + with open(expected_path, "w") as f: f.write(formatted_response) - log.debug(f"Wrote {AppSetting}") + log.debug(f"Wrote {AppSetting} to {expected_path}") else: log.error(f"Failed to retrieve {AppSetting}: {response.status_code}") \ No newline at end of file