From 1048688284107594fbb89a3f51631bb4065a214f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 19 Jan 2021 07:15:08 -0800 Subject: [PATCH] Fixes import paths --- bookwyrm/views/import_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/views/import_data.py b/bookwyrm/views/import_data.py index a8bfc865..8c7cee88 100644 --- a/bookwyrm/views/import_data.py +++ b/bookwyrm/views/import_data.py @@ -43,7 +43,7 @@ class Import(View): except (UnicodeDecodeError, ValueError): return HttpResponseBadRequest('Not a valid csv file') goodreads_import.start_import(job) - return redirect('/import-status/%d' % job.id) + return redirect('/import/%d' % job.id) return HttpResponseBadRequest() @@ -80,4 +80,4 @@ class ImportStatus(View): items, ) goodreads_import.start_import(job) - return redirect('/import-status/%d' % job.id) + return redirect('/import/%d' % job.id)