aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2022-01-15 15:07:53 +0700
committerbenadha <benawiadha@gmail.com>2022-01-15 15:07:53 +0700
commit7ff5e0550f6326af019df07157f62c016f20d42f (patch)
treeece15f3ffbba2ab16e126ad8df3e1692ef4ee82a /epy.py
parent01b3cfc39c73fec72f60a24bae51050a929f40b6 (diff)
downloadepy-7ff5e0550f6326af019df07157f62c016f20d42f.tar.gz
Hotfix: image location reference issue
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/epy.py b/epy.py
index 1572ad0..ef299f2 100755
--- a/epy.py
+++ b/epy.py
@@ -22,7 +22,7 @@ examples:
"""
-__version__ = "2022.1.15"
+__version__ = "2022.1.16"
__license__ = "GPL-3.0"
__author__ = "Benawi Adha"
__email__ = "benawiadha@gmail.com"
@@ -3075,6 +3075,7 @@ class Reader:
reading_state = self.convert_relative_reading_state_to_absolute(reading_state)
else:
text_structure, toc_entries, contents = self.get_current_book_content(reading_state)
+ content_path = contents[reading_state.content_index]
totlines = len(text_structure.text_lines)
@@ -3532,6 +3533,8 @@ class Reader:
continue
except Exception as e:
self.show_win_error("Error Opening Image", str(e), tuple())
+ if DEBUG:
+ raise e
elif (
k in self.keymap.SwitchColor