mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-12 03:04:25 +00:00
update
This commit is contained in:
1 parent
fb7d5151ba
commit
545c3ae2ec
3 files changed
+19
-31
No files matched your search
@@ -196,7 +196,7 @@ def prepare_corpus(corpus_id):
|
||||
if not (corpus.creator == current_user or current_user.is_administrator()):
|
||||
abort(403)
|
||||
if len(corpus.files.all()) > 0:
|
||||
corpus.status = 'preparable'
|
||||
corpus.status = 'submitted'
|
||||
db.session.commit()
|
||||
flash('Corpus marked for preparation!')
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user