2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

debug mogrify

This commit is contained in:
Philip Sargent 2023-09-14 14:24:36 +03:00
parent db3d1ff4ef
commit 85487efee3

View File

@ -423,6 +423,8 @@ def expofilerename(request, filepath):
)
message = f'! - ROTATE - Success: rotated this file {filename}.' + msgdata
print(message)
DataIssue.objects.create(parser="mogrify", message=message)
if rot.returncode != 0:
msgdata = (
"Ask a nerd to fix this.\n\n"
@ -437,6 +439,7 @@ def expofilerename(request, filepath):
+ msgdata
)
print(message)
DataIssue.objects.create(parser="mogrify", message=message)
return simple_get()