[mod] more obvious error message

This commit is contained in:
Laurent Peuch 2016-05-11 18:14:15 +02:00
parent c4db38e557
commit dd8b20d93c

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"], "I couldn't find a binary to convert video and I ask to do so, abort") error(SETTINGS["ffmpeg"] is 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")