mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-19 05:00:56 +00:00
Remove redundant code
This commit is contained in:
1 parent
086fe22649
commit
2470c8dfef
3 files changed
+25
-65
No files matched your search
@@ -149,7 +149,7 @@ def create_corpus_file(corpus_id):
|
||||
mimetype='application/vrt+xml',
|
||||
corpus=corpus
|
||||
)
|
||||
except OSError:
|
||||
except (AttributeError, OSError):
|
||||
abort(500)
|
||||
corpus.status = CorpusStatus.UNPREPARED
|
||||
db.session.commit()
|
||||
|
||||
Reference in new issue
Block a user