From 76e3be58e681e475c8b5bcbebfd42ceafdf2163e Mon Sep 17 00:00:00 2001 From: Fatih Ka Date: Wed, 19 Sep 2018 21:38:40 +0300 Subject: [PATCH] Delete book fixed There was an incorrect parameter. --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 2de1bbd3..ca95d02e 100644 --- a/cps/web.py +++ b/cps/web.py @@ -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: