Delete book fixed

There was an incorrect parameter.
pull/639/head
Fatih Ka 6 years ago committed by GitHub
parent 0bb148e6e3
commit 76e3be58e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1702,7 +1702,7 @@ def delete_book(book_id, book_format):
modify_database_object([u''], book.tags, db.Tags, db.session, 'tags')
modify_database_object([u''], book.series, db.Series, db.session, 'series')
modify_database_object([u''], book.languages, db.Languages, db.session, 'languages')
modify_database_object([u''], book.publishers, db.Publishers, db.session, 'series')
modify_database_object([u''], book.publishers, db.Publishers, db.session, 'publishers')
cc = db.session.query(db.Custom_Columns).filter(db.Custom_Columns.datatype.notin_(db.cc_exceptions)).all()
for c in cc:

Loading…
Cancel
Save