Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

@Pitkley made a good suggestion in #98

Daniel Quinn90939be6afda
diff --git a/src/documents/consumer.py b/src/documents/consumer.py
index ccc3ee250..5e4f1b8b8 100644
--- a/src/documents/consumer.py
+++ b/src/documents/consumer.py
@@ -377,7 +377,7 @@ def run_unpaper(args):
def run_convert(*args):
- environment = {}
+ environment = os.environ.copy()
if settings.CONVERT_MEMORY_LIMIT:
environment["MAGICK_MEMORY_LIMIT"] = settings.CONVERT_MEMORY_LIMIT
if settings.CONVERT_TMPDIR: