Skip to content
Snippets Groups Projects
Verified Commit 4bc8252c authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

[Reformat] black and superflous import

parent ee3b5d9f
No related branches found
No related tags found
No related merge requests found
from django.conf import settings
from django.http import JsonResponse
from django.shortcuts import render
from django.utils.translation import ugettext_lazy as _
......@@ -92,9 +91,7 @@ def report_issue(request):
long_description = form.cleaned_data["long_description"]
# Register activity
desc_categories = add_arrows(
[category_1, category_2, category_3, free_text,]
)
desc_categories = add_arrows([category_1, category_2, category_3, free_text,])
desc_act = f"{desc_categories} | {short_description}"
act = Activity(
title=_("You reported a problem."),
......@@ -107,9 +104,7 @@ def report_issue(request):
# Send mail
context = {
"description": [
add_arrows(
[category_1, category_2, category_3, free_text,]
),
add_arrows([category_1, category_2, category_3, free_text,]),
short_description,
long_description,
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment