mirror of
https://source.perfectable.org/nivertius/napi.git
synced 2025-07-02 03:14:46 +02:00
nonzero status from 7zip doesnt end script, just goes to next movie
This commit is contained in:
parent
d03f00ddb4
commit
b5c7529f72
1 changed files with 1 additions and 1 deletions
2
napi
2
napi
|
@ -85,7 +85,7 @@ for movie_filename in args.movies:
|
|||
if result != 0:
|
||||
print "%s: 7zip returned non-zero code: %s" % (movie_filename, subtitle_filename)
|
||||
os.remove(subtitle_filename)
|
||||
sys.exit(3)
|
||||
continue
|
||||
|
||||
print "%s: downloaded subtitles: uploader '%s', author '%s', date '%s'" % (movie_filename,
|
||||
subtitle_uploader, subtitle_author, subtitle_date)
|
||||
|
|
Loading…
Add table
Reference in a new issue