From 809fb8fa1ff58c83e262d5470e8990a000c676a1 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sun, 21 Feb 2016 00:29:59 +0000 Subject: [PATCH] Moved the default GNUPG home to /tmp for tox-friendliness --- requirements.txt | 1 + src/paperless/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6dd8b32b5..25f4a0a40 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ Django==1.9 django-extensions==1.6.1 +djangorestframework==3.3.2 filemagic==1.6 langdetect==1.0.5 Pillow==3.0.0 diff --git a/src/paperless/settings.py b/src/paperless/settings.py index d31879110..07918882f 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -158,7 +158,7 @@ OCR_THREADS = os.environ.get("PAPERLESS_OCR_THREADS") FORGIVING_OCR = True # GNUPG needs a home directory for some reason -GNUPG_HOME = os.environ.get("HOME", "/dev/null") +GNUPG_HOME = os.environ.get("HOME", "/tmp") # Convert is part of the Imagemagick package CONVERT_BINARY = "/usr/bin/convert"