UNRAR_TOOL variable is set on load archive

This commit is contained in:
Ozzie Isaacs 2020-08-27 21:02:16 +02:00 committed by GitHub
parent 3e15b950b7
commit b323fab55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -619,6 +619,7 @@ if rarsupport:
while tries < 7: while tries < 7:
try: try:
tries = tries + 1 tries = tries + 1
rarfile.UNRAR_TOOL = self.rar_exe_path
rarc = rarfile.RarFile(self.path) rarc = rarfile.RarFile(self.path)
except (OSError, IOError) as e: except (OSError, IOError) as e: