From 105742820f3ad60b3a5d3c3530de6ac9fa624fcd Mon Sep 17 00:00:00 2001 From: Clair Delafuente Date: Tue, 19 Aug 2025 00:53:25 -0400 Subject: [PATCH] do a little bit of this because i need to continue stroking my genius --- __init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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