Re-add path

This commit is contained in:
mano3m
2014-04-03 22:46:22 +02:00
parent 6152ddbd5f
commit 610edea20e
+1 -1
View File
@@ -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