@Pitkley made a good suggestion in #98

This commit is contained in:
Daniel Quinn 2016-04-10 17:39:49 +01:00
parent b4474c296c
commit 90939be6af

View File

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