formatting changes

This commit is contained in:
iLLiCiTiT 2020-10-15 15:59:10 +02:00
parent 3f3dd29083
commit d37f4a041f

View file

@ -302,8 +302,9 @@ class ModifiedBurnins(ffmpeg_burnins.Burnins):
proc = subprocess.Popen(command, shell=True)
print(proc.communicate()[0])
if proc.returncode != 0:
raise RuntimeError("Failed to render '%s': %s'"
% (output, command))
raise RuntimeError(
"Failed to render '{}': {}'".format(output, command)
)
if is_sequence:
output = output % kwargs.get("duration")