mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-13 10:17:43 +08:00
Fix for unrar path detection.
This commit is contained in:
parent
50ff0137a1
commit
e4050a8130
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def init_binaries():
|
||||||
installed_unrar = which('unrar')
|
installed_unrar = which('unrar')
|
||||||
|
|
||||||
if installed_unrar and os.path.isfile(installed_unrar):
|
if installed_unrar and os.path.isfile(installed_unrar):
|
||||||
unrar_exe = "unrar"
|
unrar_exe = installed_unrar
|
||||||
else:
|
else:
|
||||||
if platform.system() == "Windows": # Windows
|
if platform.system() == "Windows": # Windows
|
||||||
unrar_exe = os.path.abspath(os.path.join(binaries_dir, "Windows", "i386", "UnRAR", "UnRAR.exe"))
|
unrar_exe = os.path.abspath(os.path.join(binaries_dir, "Windows", "i386", "UnRAR", "UnRAR.exe"))
|
||||||
|
|
Loading…
Reference in a new issue