Fix a regression in the previous release that broke the remove specific format from book action

This commit is contained in:
Kovid Goyal 2022-10-14 17:29:53 +05:30
parent a32750b4be
commit e1ab06f9b8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -186,7 +186,7 @@ class DeleteAction(InterfaceAction):
'%(title)s. Are you sure?')%dict(fmt=fmt, title=title)) +
'</p>', 'library_delete_specific_format', self.gui):
return
self._remove_format_from_ids((fmt,), (book_id,))
self._remove_formats_from_ids((fmt,), (book_id,))
def remove_format_from_selected_books(self, fmt):
ids = self._get_selected_ids()