Skip to content

Commit

Permalink
Update v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
quantrancse committed Oct 22, 2021
1 parent 2c447e6 commit 0de58dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hako2epub.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def update_epub(self, ln, volume):
epub_folder = Utils().format_name(ln.name)
epub_path = epub_folder + '/' + epub_name

if isdir(epub_path):
if isfile(epub_path):
try:
self.book = epub.read_epub(epub_path)
except Exception:
Expand Down

0 comments on commit 0de58dc

Please sign in to comment.