Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseentai committed Dec 5, 2024
1 parent b923a48 commit 141c66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report_py3o/tests/test_report_py3o.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
logger.debug("Cannot import genshi.core")

# Ensuring compatibility with PyPDF2 versions depending on the Python version
PYTHON_VERSION = version.parse(sys.version)
PYTHON_VERSION = version.parse(sys.version.split(' ')[0])

# Conditional import based on Python version
if PYTHON_VERSION <= version.parse("3.10"):
Expand Down

0 comments on commit 141c66e

Please sign in to comment.