Skip to content

Commit

Permalink
Fix PEOPLE_DATA_ON check (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Jul 8, 2024
1 parent d89ef92 commit 92219a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@

# People Data report
PEOPLE_DATA_INTERFACE = env("PEOPLE_DATA_INTERFACE")
if env("PEOPLE_DATA_ON", default="false") == "true":
if env("PEOPLE_DATA_ON", default="false").lower() == "true":
DATABASES["people_data"] = {
"HOST": env("PEOPLE_DATA_POSTGRES_HOST"),
"NAME": env("PEOPLE_DATA_POSTGRES_DATABASE"),
Expand Down

0 comments on commit 92219a4

Please sign in to comment.