From 6e29dd3c4070c5018b63de77006b4318accee10b Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Tue, 23 May 2017 10:53:30 +0200 Subject: [PATCH] fix cache with video --- prosopopee/prosopopee.py | 1 - 1 file changed, 1 deletion(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 03323dc..8a7b151 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -118,7 +118,6 @@ class Video(object): command = "{binary} {loglevel} -i {source} {video} {vbitrate} {other} {audio} {abitrate} {resolution} {format} -y {target}".format(**ffmpeg_switches) print(command) error(os.system(command) == 0, "%s command failed" % ffmpeg_switches["binary"]) - target = target + "." + options["extension"] print target CACHE.cache_picture(source, target, options)