mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-04 17:23:18 +00:00
fix for edit page after upload
This commit is contained in:
@@ -896,4 +896,8 @@ def upload():
|
||||
|
||||
db.session.add(db_book)
|
||||
db.session.commit()
|
||||
return render_template('edit_book.html', book=db_book)
|
||||
author_names = []
|
||||
for author in db_book.authors:
|
||||
author_names.append(author.name)
|
||||
|
||||
return render_template('edit_book.html', book=db_book, authors=author_names)
|
||||
|
||||
Reference in New Issue
Block a user