Skip to content

Commit

Permalink
fix: Correctly check minor not bugfix version
Browse files Browse the repository at this point in the history
  • Loading branch information
b-butler committed Nov 14, 2023
1 parent 63d9550 commit 88c3881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signac/import_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ def read_statepoint_file(path):
"The jobs identified with the given schema function are not unique!"
)

if sys.version_info[2] >= 12:
if sys.version_info[1] >= 12: # minor version
# the data filter should support all needed operations for users using signac's import
# feature. Other filters assume Unix specific features.
tarfile.extractall(path=tmpdir, filter="data")
Expand Down

0 comments on commit 88c3881

Please sign in to comment.