diff --git a/libs/unrar2/unix.py b/libs/unrar2/unix.py index 47129f8..9ebab40 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