I not sure which part of the plugin code causes the error but here are the steps to reproduce it:
- add the mobi book to calibre
- install WordDumb plugin
- use this plugin on the book
Only `MetadataUpdater.update(mi, asin=asin)` changes the book file, I also add the "mobi-asin" identifier to the book metadata.
The plugin code: