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

Epub Exception #3

Open
adityanemali opened this issue Dec 13, 2017 · 1 comment
Open

Epub Exception #3

adityanemali opened this issue Dec 13, 2017 · 1 comment

Comments

@adityanemali
Copy link

adityanemali commented Dec 13, 2017

Traceback (most recent call last):
File "file.py", line 10, in
metadata = get_epub_metadata(str(filename),read_cover_image=True, read_toc=True)
File "/home/hello/anaconda3/lib/python3.6/site-packages/epub_meta/collector.py", line 331, in get_epub_metadata
raise EPubException('Unknown file')
epub_meta.exceptions.EPubException: Unknown file

@paulocheque
Copy link
Owner

    if not zipfile.is_zipfile(filepath):
        raise EPubException('Unknown file')

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

No branches or pull requests

2 participants