Update prosopopee.py
This commit is contained in:
parent
4fc4868b06
commit
4c06078339
@ -198,11 +198,11 @@ def main():
|
|||||||
if os.system("which " + conv_video +" > /dev/null") != 0:
|
if os.system("which " + conv_video +" > /dev/null") != 0:
|
||||||
if conv_video == "ffmpeg" and os.system("which avconv > /dev/null") == 0:
|
if conv_video == "ffmpeg" and os.system("which avconv > /dev/null") == 0:
|
||||||
SETTINGS["ffmpeg"]["binary"] = "avconv"
|
SETTINGS["ffmpeg"]["binary"] = "avconv"
|
||||||
warning("I couldn't locate ffmpeg but I could find avconv, switching to avconv for video conversion")
|
warning("Video", "I couldn't locate ffmpeg but I could find avconv, switching to avconv for video conversion")
|
||||||
else:
|
else:
|
||||||
warning("I can't locate the "+ conv_video +" binary, "
|
warning("Video", "I can't locate the "+ conv_video +" binary, "
|
||||||
"please install the '" + conv_video + "' package.\n")
|
"please install the '" + conv_video + "' package.\n")
|
||||||
warning("I won't be able to encode video and I will stop if I encounter a video to convert")
|
warning("Video", "I won't be able to encode video and I will stop if I encounter a video to convert")
|
||||||
SETTINGS["ffmpeg"] = False
|
SETTINGS["ffmpeg"] = False
|
||||||
|
|
||||||
error(os.path.exists(os.path.join(os.getcwd(), "settings.yaml")), "I can't find a "
|
error(os.path.exists(os.path.join(os.getcwd(), "settings.yaml")), "I can't find a "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user