mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-28 16:45:20 +00:00
format right justify
This commit is contained in:
@@ -341,7 +341,7 @@ def expopage(request, path):
|
||||
content_type = getmimetype(path)
|
||||
return HttpResponse(content=content, content_type=content_type)
|
||||
except FileNotFoundError as e:
|
||||
message = f" ! - 404 FileNotFound REMOTE_ADDR: {meta['REMOTE_ADDR']} [{stamp}] '/{path}'"
|
||||
message = f" ! - 404 FileNotFound REMOTE_ADDR: {meta['REMOTE_ADDR']:>15} [{stamp}] '/{path}'"
|
||||
DataIssue.objects.create(parser="view404", message=message)
|
||||
return render(request, "pagenotfound.html", {"path": path}, status=404)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user