Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck authored Sep 13, 2023
1 parent 6002c53 commit 1db8a7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def setup_credential_file(self):

def validate(self):
"""Validate that we can run the OCR"""
print(self.get_document_count())
if self.get_document_count() == 0:
if self.get_document_count() is None:
self.set_message(
"It looks like no documents were selected. Search for some or "
"select them and run again."
Expand Down

0 comments on commit 1db8a7d

Please sign in to comment.