From 2de212873d0bc9097d169e1cbc2a1922c502a90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Sat, 20 Feb 2016 16:49:37 +0100 Subject: [PATCH] path-agnostic 7zip execution --- napi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napi b/napi index 2a77f9b..fc4724a 100755 --- a/napi +++ b/napi @@ -73,7 +73,7 @@ for movie_filename in args: subtitle_filename = movie_filename[:-4] + ".srt" executed = [ - '/usr/bin/7z', # executable + '7z', # executable 'x', # command: extract '-p' + password, # use password '-y', # assume yes on all queries