path-agnostic 7zip execution

This commit is contained in:
Paweł Płazieński 2016-02-20 16:49:37 +01:00
parent 0e3e1021e2
commit 2de212873d

2
napi
View file

@ -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