Fix for unrar path detection.

This commit is contained in:
Louis Vézina 2019-02-01 06:33:32 -05:00
parent 50ff0137a1
commit e4050a8130
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ def init_binaries():
installed_unrar = which('unrar')
if installed_unrar and os.path.isfile(installed_unrar):
unrar_exe = "unrar"
unrar_exe = installed_unrar
else:
if platform.system() == "Windows": # Windows
unrar_exe = os.path.abspath(os.path.join(binaries_dir, "Windows", "i386", "UnRAR", "UnRAR.exe"))