Bump version to 2.3.1

This commit is contained in:
Scot Hacker 2019-04-01 23:48:54 -07:00
parent e9a7bbe48c
commit 388fb40c00
3 changed files with 4 additions and 3 deletions

View file

@ -13,7 +13,7 @@ def import_csv(request) -> HttpResponse:
"""Import a specifically formatted CSV into stored tasks.
"""
ctx = {}
ctx = {"results": None}
if request.method == "POST":
filepath = request.FILES.get("csvfile")
@ -25,7 +25,6 @@ def import_csv(request) -> HttpResponse:
importer = CSVImporter()
results = importer.upsert(filepath)
ctx["results"] = None
if results:
ctx["results"] = results
else: