Skip to content

Commit

Permalink
Update FileIO.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderVocke authored Apr 30, 2024
1 parent bd9c595 commit b5df6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shoopdaloop/lib/q_objects/FileIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def make_tarfile(self, filename, source_dir, compress):
def extract_tarfile(self, filename, target_dir):
flags = "r:*"
with tarfile.open(filename, flags) as tar:
if 'filter' in inspect.signature(tar.extractall).signature.parameters:
if 'filter' in inspect.signature(tar.extractall).parameters:
tar.extractall(target_dir, filter='fully_trusted')
else:
tar.extractall(target_dir)
Expand Down

0 comments on commit b5df6b8

Please sign in to comment.