mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-24 22:39:02 -06:00
fix export dir
[ci skip]
This commit is contained in:
@@ -36,6 +36,7 @@ def __get_path(
|
||||
|
||||
|
||||
DATA_DIR = __get_path("PAPERLESS_DATA_DIR", BASE_DIR.parent / "data")
|
||||
EXPORT_DIR = __get_path("PAPERLESS_EXPORT_DIR", BASE_DIR.parent / "export")
|
||||
|
||||
|
||||
def _parse_db_settings() -> dict[str, dict[str, Any]]:
|
||||
@@ -184,11 +185,11 @@ SOCIALACCOUNT_ENABLED = False
|
||||
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.db"
|
||||
|
||||
MIGRATION_EXPORT_PATH = os.getenv(
|
||||
MIGRATION_EXPORT_PATH = __get_path(
|
||||
"PAPERLESS_MIGRATION_EXPORT_PATH",
|
||||
"/data/export.json",
|
||||
EXPORT_DIR / "manifest.json",
|
||||
)
|
||||
MIGRATION_TRANSFORMED_PATH = os.getenv(
|
||||
MIGRATION_TRANSFORMED_PATH = __get_path(
|
||||
"PAPERLESS_MIGRATION_TRANSFORMED_PATH",
|
||||
"/data/export.v3.json",
|
||||
EXPORT_DIR / "manifest.v3.json",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user