diff --git a/src/shoopdaloop/lib/q_objects/FileIO.py b/src/shoopdaloop/lib/q_objects/FileIO.py index dc90d6bd96..d2667208cc 100644 --- a/src/shoopdaloop/lib/q_objects/FileIO.py +++ b/src/shoopdaloop/lib/q_objects/FileIO.py @@ -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)