mirror of https://github.com/morpheus65535/bazarr
Fix for unrar path detection.
This commit is contained in:
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…
Reference in New Issue