From 03c9d6d8441e3293b058fed270866419781b734c Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 26 Sep 2018 16:23:29 +0200 Subject: Run 2to3 Some stuff is broken now. --- kpov_judge/tasks/nat_vlc/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kpov_judge/tasks/nat_vlc/video.py') diff --git a/kpov_judge/tasks/nat_vlc/video.py b/kpov_judge/tasks/nat_vlc/video.py index 7593d43..3c21c82 100644 --- a/kpov_judge/tasks/nat_vlc/video.py +++ b/kpov_judge/tasks/nat_vlc/video.py @@ -31,7 +31,7 @@ bashCommand = "avconv -i video.mp4 -c:a copy video1.avi" os.system(bashCommand) # This loop will increas videos length by adding more picesec of the original video. -last = input("Set video length in seconds: ") +last = int(input("Set video length in seconds: ")) bashCommand = "avconv -i concat:video.avi\|video1.avi -c copy video.avi" for i in range(0, last-2): os.system(bashCommand) -- cgit v1.2.1