Skip to content

Commit

Permalink
filter was introduced in py3.10.12
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Dec 20, 2024
1 parent a8245cd commit 4625fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeec/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _run_extract(data_name, path_extract):
print("data extraction: extract", flush=True, file=sys.stderr)
folder = importlib.resources.files("pypeec.data")
with importlib.resources.as_file(folder.joinpath(data_name)) as fid:
shutil.unpack_archive(fid, path_extract, format="xztar", filter="data")
shutil.unpack_archive(fid, path_extract, format="xztar")
except OSError:
print("data extraction: failure", flush=True, file=sys.stderr)

Expand Down

0 comments on commit 4625fde

Please sign in to comment.