2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11: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 message = f'! - ROTATE - Success: rotated this file {filename}.' + msgdata
print(message) print(message)
DataIssue.objects.create(parser="mogrify", message=message)
if rot.returncode != 0: if rot.returncode != 0:
msgdata = ( msgdata = (
"Ask a nerd to fix this.\n\n" "Ask a nerd to fix this.\n\n"
@ -437,6 +439,7 @@ def expofilerename(request, filepath):
+ msgdata + msgdata
) )
print(message) print(message)
DataIssue.objects.create(parser="mogrify", message=message)
return simple_get() return simple_get()