From c58bbf187888fec74a7eb730ea769dc5d52e62ff Mon Sep 17 00:00:00 2001 From: John Ashurst - MAFFAS Date: Mon, 20 Apr 2020 14:51:21 +0200 Subject: [PATCH] [FIX] TypeError TypeError: extractFiles() takes 1 positional argument but 2 were given --- python_exe_unpack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_exe_unpack.py b/python_exe_unpack.py index b59e8c7..41f9068 100644 --- a/python_exe_unpack.py +++ b/python_exe_unpack.py @@ -234,7 +234,7 @@ def __decrypt(self): def __pyinstxtractor_extract(self): if self.py_inst_archive.getCArchiveInfo(): self.py_inst_archive.parseTOC() - self.py_inst_archive.extractFiles(self.extraction_dir) + self.py_inst_archive.extractFiles(custom_dir=self.extraction_dir) print('[*] Successfully extracted pyinstaller exe.') @@ -378,4 +378,4 @@ def main(): if __name__ == '__main__': print("[*] On Python " + str(sys.version_info.major) + "." + str(sys.version_info.minor)) - main() \ No newline at end of file + main()