Skip to content

Commit

Permalink
Format string instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarton committed Jan 7, 2025
1 parent f514d2f commit 8b65581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epilepsy12/general_functions/index_multiple_deprivation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def imd_for_postcode(user_postcode: str) -> int:

if response.status_code != 200:
logger.error(
f"Could not get deprivation score for {user_postcode}. Response status {response.status_code}"
"Could not get deprivation score for %s. Response status %s", user_postcode, response.status_code
)
return None

Expand Down

0 comments on commit 8b65581

Please sign in to comment.