A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Add a default value for CONVERT_BINARY
Daniel Quinn5b53cc2139dd
diff --git a/src/paperless/settings.py b/src/paperless/settings.pyindex a7ebb2ba5..fb5a4bf80 100644--- a/src/paperless/settings.py+++ b/src/paperless/settings.py@@ -197,7 +197,7 @@ FORGIVING_OCR = bool(os.getenv("PAPERLESS_FORGIVING_OCR", "YES").lower() in ("yeGNUPG_HOME = os.getenv("HOME", "/tmp")# Convert is part of the ImageMagick package-CONVERT_BINARY = os.getenv("PAPERLESS_CONVERT_BINARY")+CONVERT_BINARY = os.getenv("PAPERLESS_CONVERT_BINARY", "convert")CONVERT_TMPDIR = os.getenv("PAPERLESS_CONVERT_TMPDIR")CONVERT_MEMORY_LIMIT = os.getenv("PAPERLESS_CONVERT_MEMORY_LIMIT")CONVERT_DENSITY = os.getenv("PAPERLESS_CONVERT_DENSITY")