mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-25 06:37:15 +01:00
fix export dir
[ci skip]
This commit is contained in:
parent
2964b4b256
commit
75c6ffe01f
1 changed files with 5 additions and 4 deletions
|
|
@ -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",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue