How to use a format map with remove_formats
I'm trying to remove epub conversions from selected books. I've created a list of ID's using
ids=list(map(self.gui.library_view.model().id,rows ))
The docs for remove_formats says that I need to pass it "a mapping of book_id to a list of formats" but I have no idea how to do that.
Thanks!
|