aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2019-02-01 06:33:32 -0500
committerLouis Vézina <[email protected]>2019-02-01 06:33:32 -0500
commite4050a8130421722453b641a4ba189fd8239ce98 (patch)
tree4a14dfab2d985654408c04574fdda11cef363280
parent50ff0137a17bab7d8a3f3b10b9b0bc6c5653d527 (diff)
downloadbazarr-e4050a8130421722453b641a4ba189fd8239ce98.tar.gz
bazarr-e4050a8130421722453b641a4ba189fd8239ce98.zip
Fix for unrar path detection.
-rw-r--r--bazarr/init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/init.py b/bazarr/init.py
index c24211c0c..1875c09a6 100644
--- a/bazarr/init.py
+++ b/bazarr/init.py
@@ -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"))