mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
@Pitkley made a good suggestion in #98
This commit is contained in:
parent
b4474c296c
commit
90939be6af
@ -377,7 +377,7 @@ def run_unpaper(args):
|
|||||||
|
|
||||||
def run_convert(*args):
|
def run_convert(*args):
|
||||||
|
|
||||||
environment = {}
|
environment = os.environ.copy()
|
||||||
if settings.CONVERT_MEMORY_LIMIT:
|
if settings.CONVERT_MEMORY_LIMIT:
|
||||||
environment["MAGICK_MEMORY_LIMIT"] = settings.CONVERT_MEMORY_LIMIT
|
environment["MAGICK_MEMORY_LIMIT"] = settings.CONVERT_MEMORY_LIMIT
|
||||||
if settings.CONVERT_TMPDIR:
|
if settings.CONVERT_TMPDIR:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user