From efc6be9f93a7e332123405944743ddf039ad7f8e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 24 Nov 2020 21:23:28 +0530 Subject: [PATCH] Match signature --- src/calibre/db/tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/db/tables.py b/src/calibre/db/tables.py index a373a291ac..76f243d269 100644 --- a/src/calibre/db/tables.py +++ b/src/calibre/db/tables.py @@ -571,8 +571,8 @@ class AuthorsTable(ManyToManyTable): return ret - def remove_items(self, item_ids, db): - raise ValueError('Direct removal of authors is not allowed') + def remove_items(self, item_ids, db, restrict_to_book_ids=None): + raise NotImplementedError('Direct removal of authors is not allowed') class FormatsTable(ManyToManyTable):