Skip to content

Commit

Permalink
2.0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
noembryo committed Jul 31, 2024
1 parent e5b6229 commit f8c77d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@


__author__ = "noEmbryo"
__version__ = "2.0.2.0"
__version__ = "2.0.3.0"


class Base(QMainWindow, Ui_Base):
Expand Down Expand Up @@ -995,7 +995,7 @@ def on_archive(self):
annotations = data.get("annotations")
if annotations is not None: # new format metadata
for high_idx in annotations:
if annotations[high_idx]["pos0"]:
if annotations[high_idx].get("pos0"):
break # there is at least one highlight in the book
else: # no highlights don't add
empty += 1
Expand Down

0 comments on commit f8c77d5

Please sign in to comment.