forked from mirrors/bookwyrm
Fixes import paths
This commit is contained in:
parent
1c1492d468
commit
1048688284
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue