From 610edea20e1c574c39b5c154a1eb8d130f5d77a8 Mon Sep 17 00:00:00 2001 From: mano3m Date: Thu, 3 Apr 2014 22:46:22 +0200 Subject: [PATCH] Re-add path --- libs/unrar2/unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/unrar2/unix.py b/libs/unrar2/unix.py index 47129f84..9ebab40d 100644 --- a/libs/unrar2/unix.py +++ b/libs/unrar2/unix.py @@ -39,7 +39,7 @@ def call_unrar(params): "Calls rar/unrar command line executable, returns stdout pipe" global rar_executable_cached if rar_executable_cached is None: - for command in ('unrar', 'rar'): + for command in ('unrar', 'rar', os.path.join(os.path.dirname(__file__), 'unrar')): try: subprocess.Popen([command], stdout = subprocess.PIPE) rar_executable_cached = command