Skip to content

Commit

Permalink
Interpret IS_DOCKER flag correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Sep 12, 2024
1 parent c6c26ba commit 53759aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lute/config/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _load_config(self, config_file_path):
if self.env not in ["prod", "dev"]:
raise ValueError(f"ENV must be prod or dev, was {self.env}.")

self.is_docker = "IS_DOCKER" in config
self.is_docker = bool(config.get("IS_DOCKER", False))

# Database name.
self.dbname = config.get("DBNAME", None)
Expand Down

0 comments on commit 53759aa

Please sign in to comment.