Skip to content

Commit

Permalink
Update kindleunpack.py
Browse files Browse the repository at this point in the history
Resolve base folder when calling kindleunpack.py using absolute path.
  • Loading branch information
srivatsanhari committed Feb 9, 2017
1 parent 4288000 commit 58c8d34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/kindleunpack.py
Expand Up @@ -4,7 +4,9 @@

from __future__ import unicode_literals, division, absolute_import, print_function

__path__ = ["lib", ".", "kindleunpack"]
import os

__path__ = ["lib", os.path.dirname(__file__), "kindleunpack"]

import sys
import codecs
Expand Down

0 comments on commit 58c8d34

Please sign in to comment.