From 6cedbb3307f4a2a70e98938f57a1ee341017aa8e Mon Sep 17 00:00:00 2001 From: Mike Cronce Date: Sun, 6 Aug 2017 13:07:54 -0400 Subject: [PATCH] src/paperless/settings.py: Added DISABLE_ENCRYPTION environment variable --- src/paperless/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 1c88c6bb8..450bd30d8 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -259,6 +259,7 @@ CONSUMER_LOOP_TIME = int(os.getenv("PAPERLESS_CONSUMER_LOOP_TIME", 10)) # with GPG, including an interesting case where it may "encrypt" zero-byte # files. PASSPHRASE = os.getenv("PAPERLESS_PASSPHRASE") +ENABLE_ENCRYPTION = os.getenv('DISABLE_ENCRYPTION') != 'true' # Trigger a script after every successful document consumption? PRE_CONSUME_SCRIPT = os.getenv("PAPERLESS_PRE_CONSUME_SCRIPT")