mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +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:
parent
281a8ba48c
commit
b18a166898
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user