1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

postprocess: Give up on failure, not success when muxing

This, I suspect, accidental inversion of the error case led to files not
being cleaned up properly.

Fixes #856, reported by @pulsatorius
This commit is contained in:
Olof Johansson 2018-03-09 22:19:27 +01:00 committed by Johan Andersson
parent 281a8ba48c
commit b18a166898

View File

@ -194,7 +194,7 @@ class postprocess(object):
arguments += ["-y", tempfile]
cmd += arguments
returncode, stdout, stderr = run_program(cmd)
if returncode != 1:
if returncode != 0:
return
log.info("Merging done, removing old files.")