diff --git a/app/main/views.py b/app/main/views.py index b5b71985..362332bc 100644 --- a/app/main/views.py +++ b/app/main/views.py @@ -33,7 +33,7 @@ def corpus(corpus_id): return redirect(url_for('main.corpus', corpus_id=corpus_id)) # Gather information to create new corpus file database entry author = add_corpus_file_form.author.data - dir = os.path.join(str(corpus.user_id), 'jobs', str(corpus.id)) + dir = os.path.join(str(corpus.user_id), 'corpora', str(corpus.id)) file = add_corpus_file_form.file.data publishing_year = add_corpus_file_form.publishing_year.data title = add_corpus_file_form.title.data diff --git a/app/templates/main/corpora/corpus.html.j2 b/app/templates/main/corpora/corpus.html.j2 index 6a55167d..df302548 100644 --- a/app/templates/main/corpora/corpus.html.j2 +++ b/app/templates/main/corpora/corpus.html.j2 @@ -69,7 +69,7 @@