Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No book number in output file name #24

Open
LordKBX opened this issue Aug 12, 2018 · 2 comments
Open

No book number in output file name #24

LordKBX opened this issue Aug 12, 2018 · 2 comments

Comments

@LordKBX
Copy link

LordKBX commented Aug 12, 2018

all is in the title

for myself a made a quick-fix
in wuxiaworld2ebook.py, function button_press()
line 40-41

if name in i[0]:
    raw_info.append(i)

became

if name in i[0]:
     if 'disabled' not in book_number_chosen.state():
        g = list(i)
        g[0] += '-book{}'.format(booknr)
        i = tuple(g)
    raw_info.append(i)
@LordKBX
Copy link
Author

LordKBX commented Aug 12, 2018

also need a modification for the cover image

@MichaelGuardian
Copy link
Contributor

Thanks for mentioning it!
Will add the functionality in the next commit today or tommorow.

Small note to your fix: E-Reader often get the name out of the dc:title tag, so you might also want to change the input parameter of generate() and line 158 of getify.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants