Moved the default GNUPG home to /tmp for tox-friendliness

This commit is contained in:
Daniel Quinn
2016-02-21 00:29:59 +00:00
parent 440614eddc
commit 809fb8fa1f
2 changed files with 2 additions and 1 deletions

View File

@@ -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"