diff --git a/core/views/uploads.py b/core/views/uploads.py index 28948c6..dd9f60d 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -423,7 +423,7 @@ def expofilerename(request, filepath): ) message = f'! - ROTATE - Success: rotated this file {filename}.' + msgdata print(message) - DataIssue.objects.create(parser="mogrify", message=message) + # DataIssue.objects.create(parser="mogrify", message=message) if rot.returncode != 0: msgdata = ( diff --git a/parsers/scans.py b/parsers/scans.py index 9929209..4cfb7ee 100644 --- a/parsers/scans.py +++ b/parsers/scans.py @@ -36,9 +36,10 @@ def load_all_scans(): SingleScan.objects.all().delete() Wallet.objects.all().delete() - print(" - deleting all Wallet and SingleScan objects") + print(" - deleting all Wallet and SingleScan objects, and resize error messages") DataIssue.objects.filter(parser="scans").delete() DataIssue.objects.filter(parser="wallets").delete() + DataIssue.objects.filter(parser="mogrify").delete() # These are valid old file types to be visible, they are not necessarily allowed to be uploaded to a new wallet. valids = [ diff --git a/templates/renameform.html b/templates/renameform.html index 1217968..f543057 100644 --- a/templates/renameform.html +++ b/templates/renameform.html @@ -24,6 +24,7 @@



-
{% csrf_token %} -