Skip to content

Commit

Permalink
more robust bool handing in config
Browse files Browse the repository at this point in the history
  • Loading branch information
gsfk committed Jul 26, 2023
1 parent 3c8c7bf commit bc1026f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bento_beacon/config_files/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Config:
BEACON_ID = ".".join(reversed(BENTO_DOMAIN.split("."))) + ".beacon"

BEACON_NAME = os.environ.get("BENTO_PUBLIC_CLIENT_NAME", "Bento") + " Beacon"
BEACON_UI_ENABLED = os.environ.get("BENTO_BEACON_UI_ENABLED")
BEACON_UI_ENABLED = os.environ.get("BENTO_BEACON_UI_ENABLED").lower() in ('true', '1', 't')
BEACON_UI_URL = BENTO_PUBLIC_URL + "/#/en/beacon"

ENTRY_TYPES_DETAILS = {
Expand Down

0 comments on commit bc1026f

Please sign in to comment.