diff options
Diffstat (limited to 'deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py')
-rw-r--r-- | deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py b/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py index cb5180ea81a2..0631a458caf6 100644 --- a/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py +++ b/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py @@ -1,6 +1,6 @@ ---- src/paperless/settings.py.orig 2024-03-18 03:45:09 UTC +--- src/paperless/settings.py.orig 2025-04-19 22:34:42 UTC +++ src/paperless/settings.py -@@ -24,8 +24,6 @@ if configuration_path and os.path.exists(configuration +@@ -21,8 +21,6 @@ if configuration_path and os.path.exists(configuration load_dotenv(configuration_path) elif os.path.exists("../paperless.conf"): load_dotenv("../paperless.conf") @@ -9,16 +9,16 @@ elif os.path.exists("/usr/local/etc/paperless.conf"): load_dotenv("/usr/local/etc/paperless.conf") -@@ -254,7 +252,7 @@ THUMBNAIL_DIR = MEDIA_ROOT / "documents" / "thumbnails +@@ -267,7 +265,7 @@ THUMBNAIL_DIR = MEDIA_ROOT / "documents" / "thumbnails DATA_DIR = __get_path("PAPERLESS_DATA_DIR", BASE_DIR.parent / "data") -NLTK_DIR = __get_path("PAPERLESS_NLTK_DIR", "/usr/share/nltk_data") +NLTK_DIR = __get_path("PAPERLESS_NLTK_DIR", "/usr/local/share/nltk_data") - TRASH_DIR = os.getenv("PAPERLESS_TRASH_DIR") - -@@ -1031,7 +1029,7 @@ FILENAME_FORMAT_REMOVE_NONE = __get_boolean( + # Check deprecated setting first + EMPTY_TRASH_DIR = os.getenv( +@@ -1106,7 +1104,7 @@ FILENAME_FORMAT_REMOVE_NONE = __get_boolean( THUMBNAIL_FONT_NAME = os.getenv( "PAPERLESS_THUMBNAIL_FONT_NAME", |