From 7ff5e0550f6326af019df07157f62c016f20d42f Mon Sep 17 00:00:00 2001 From: benadha Date: Sat, 15 Jan 2022 15:07:53 +0700 Subject: Hotfix: image location reference issue --- epy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'epy.py') 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 -- cgit