Quote:
Originally Posted by hoperises
I just updated to the latest version of fanficfare and it still overwrites. It is apparently a new feature:
"- Calibre Plugin: Remove ebook formats before update, overwrite or unnew so that the previouis version ends up in trash instead of just copied over."
This is a step back, please fix the problem.
|
I can understand that the message above is ambiguous.
The code works as follows:
- Make a copy of the existing epub
- Perform EPUB update on that copy
- Delete the existing epub in the library (fff_plugin.py:1938)
- Add the updated copy back to the library book (fff_plugin.py:1944)
The only thing that changed was the addition of step 3. Before step 4 directly overwrote the pre-existing epub file. Now, the pre-existing epub is available in trash.
I've just tested it again on Windows10 and on MacOS 10.14 and it does what I have described.
If this is a problem you can reproduce, please post:
- Your OS
- A copy of the pre-update epub
- A copy of the post-update epub
- A calibre debug log of performing the update (under Calibre Preferences drop down.)