gvellut / jncep

Command-line tool to generate EPUB files for J-Novel Club pre-pub novels
GNU General Public License v3.0
43 stars 11 forks source link

Fails to run with --parts n: #21

Closed shakyr closed 2 years ago

shakyr commented 2 years ago

For version 36, currently unable to run the command with --parts n: as per the example below.

jncep epub --output ./books --parts 1: --byvolume --images https://j-novel.club/series/the-great-cleric

*** An unrecoverable error occured *** '>=' not supported between instances of 'int' and 'str'

gvellut commented 2 years ago

Thank you for your feedback.

There was indeed a bug. I corrected it and added some unit tests so hopefully every case is covered.

I will make a new release soon (but I want to add an additional feature so it may be a few days) so in the meantime you can use :

instead of 1: if you want to make it work (I assume you want the whole series).