revert changes made to migrations
This commit is contained in:
parent
21818010b9
commit
86e7b2d094
@ -94,8 +94,6 @@ def move_documents_and_create_thumbnails(apps, schema_editor):
|
|||||||
"500x5000",
|
"500x5000",
|
||||||
"-alpha",
|
"-alpha",
|
||||||
"remove",
|
"remove",
|
||||||
"-define",
|
|
||||||
"pdf:use-cropbox=true",
|
|
||||||
orig_target,
|
orig_target,
|
||||||
os.path.join(thumb_temp, "convert-%04d.png"),
|
os.path.join(thumb_temp, "convert-%04d.png"),
|
||||||
),
|
),
|
||||||
|
@ -27,7 +27,6 @@ def _do_convert(work_package):
|
|||||||
strip=True,
|
strip=True,
|
||||||
trim=False,
|
trim=False,
|
||||||
auto_orient=True,
|
auto_orient=True,
|
||||||
define="pdf:use-cropbox=true",
|
|
||||||
input_file=f"{existing_thumbnail}[0]",
|
input_file=f"{existing_thumbnail}[0]",
|
||||||
output_file=str(converted_thumbnail),
|
output_file=str(converted_thumbnail),
|
||||||
)
|
)
|
||||||
|
@ -53,7 +53,6 @@ def _do_convert(work_package):
|
|||||||
strip=True,
|
strip=True,
|
||||||
trim=False,
|
trim=False,
|
||||||
auto_orient=True,
|
auto_orient=True,
|
||||||
define="pdf:use-cropbox=true",
|
|
||||||
input_file=f"{decrypted_thumbnail}[0]",
|
input_file=f"{decrypted_thumbnail}[0]",
|
||||||
output_file=str(converted_decrypted_thumbnail),
|
output_file=str(converted_decrypted_thumbnail),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user