Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Use bool-ish get_config on postgresql.missing_dictionaries.

Alex Vandiver1cba83f9c531
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.py
index d97aa5654f8..91035f42c9f 100644
--- a/zproject/computed_settings.py
+++ b/zproject/computed_settings.py
@@ -311,7 +311,7 @@ elif (
PASSWORD=get_secret("postgres_password"),
HOST="localhost",
)
-POSTGRESQL_MISSING_DICTIONARIES = bool(get_config("postgresql", "missing_dictionaries", None))
+POSTGRESQL_MISSING_DICTIONARIES = get_config("postgresql", "missing_dictionaries", False)
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"