[fix] bad condition

This commit is contained in:
Laurent Peuch 2016-05-12 02:06:44 +02:00
parent 757bc2c178
commit d327afc858

View File

@ -51,7 +51,7 @@ class Video(object):
return self.options["name"] return self.options["name"]
def ffmpeg(self, source, target, options): def ffmpeg(self, source, target, options):
error(SETTINGS["ffmpeg"] is False, "I couldn't find a binary to convert video and I ask to do so, abort") error(SETTINGS["ffmpeg"] is not False, "I couldn't find a binary to convert video and I ask to do so, abort")
if not CACHE.needs_to_be_generated(source, target, options): if not CACHE.needs_to_be_generated(source, target, options):
okgreen("Skipped", source + " is already generated") okgreen("Skipped", source + " is already generated")