runs black for python formatting

This commit is contained in:
Mouse Reeve
2021-03-21 12:07:58 -07:00
parent c76ad0a312
commit da2d146f0b
2 changed files with 4 additions and 3 deletions

View File

@ -39,7 +39,7 @@ class Site(View):
@permission_required("bookwyrm.edit_instance_settings", raise_exception=True)
def email_preview(request):
""" for development, renders and example email template """
template = request.GET.get('email')
template = request.GET.get("email")
data = emailing.email_data()
data["subject_path"] = "email/{}/subject.html".format(template)
data["html_content_path"] = "email/{}/html_content.html".format(template)