Fix for unrar path detection.

pull/302/head
Louis Vézina 6 years ago
parent 50ff0137a1
commit e4050a8130

@ -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"))

Loading…
Cancel
Save