Some documents have no text in the document. The original code had no handling for this, and would crash if there was no text. This allows for a clean handling of these files without a try - except block.
Tested on Fedora 40 and Bazzite, seems to function with no issues.
Closes #38
Some documents have no text in the document. The original code had no handling for this, and would crash if there was no text. This allows for a clean handling of these files without a try - except block.
Tested on Fedora 40 and Bazzite, seems to function with no issues.