Don't set a default, so we reach the fallback case and check DBHOST

This commit is contained in:
Trenton H
2026-03-10 15:24:34 -07:00
parent 2b4ea570ef
commit caf4aa35d4

View File

@@ -209,7 +209,6 @@ def parse_db_settings(data_dir: Path) -> dict[str, dict[str, Any]]:
engine = get_choice_from_env(
"PAPERLESS_DBENGINE",
{"sqlite", "postgresql", "mariadb"},
default="sqlite",
)
except ValueError:
# MariaDB users already had to set PAPERLESS_DBENGINE, so it was picked up above