From 25257de14bbe72c5dc432b2894a61e6eaac448bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sun, 15 Jan 2017 21:18:10 +0100 Subject: [PATCH] fixed list formatting so it is actually accepted by ffmpeg --- coub-dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coub-dl.py b/coub-dl.py index 85e01af..62e404b 100644 --- a/coub-dl.py +++ b/coub-dl.py @@ -60,5 +60,5 @@ timesLoop = ceil(longer.seconds / shorter.seconds) with open('list.txt', 'w') as f: for i in range(timesLoop): - print(shorterFile, file=f) + print("file '{}'".format(shorterFile), file=f)