From 97e9cc37a902d9e2d6a0bd5a47fd22c9882d7fad Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sun, 10 Jan 2016 23:17:12 +0000 Subject: [PATCH] Set CONSUMPTION_DIR to something user-editable --- src/paperless/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 0064e9b48..414b82d5f 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -142,7 +142,7 @@ GNUPG_HOME = os.environ.get("HOME", "/dev/null") CONVERT_BINARY = "/usr/bin/convert" SCRATCH_DIR = "/tmp/paperless" # Will be created if it doesn't exist -CONSUMPTION_DIR = "/tmp/paperless/consume" +CONSUMPTION_DIR = os.environ.get("PAPERLESS_CONSUME") # Set this and change the permissions on this file to 0600, or set it to # `None` and you'll be prompted for the passphrase at runtime. The default