Skip to content

Commit

Permalink
status-report: fixed getting Python version from sys
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Apr 20, 2024
1 parent ff51c62 commit 5871cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/status-report.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def python_version(self) -> str:

return re.match(
r'^\d+\.\d+',
self._python_version or '.'.join(sys.version[:2]),
self._python_version or '%d.%d' % sys.version_info[:2]),
).group()


Expand Down

0 comments on commit 5871cd9

Please sign in to comment.