[ceskatelevize] Fix python 2.6 format issue
authorSergey M․ <dstftw@gmail.com>
Tue, 6 Jan 2015 23:03:34 +0000 (05:03 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 6 Jan 2015 23:03:34 +0000 (05:03 +0600)
youtube_dl/extractor/ceskatelevize.py

index 0a9bd01c95cbe0a994ea03f43d968951dca4c2e4..f70e090bb5b01942713149493e48bc0e51f7f74b 100644 (file)
@@ -145,7 +145,7 @@ class CeskaTelevizeIE(SubtitlesInfoExtractor):
                 if m:
                     yield m.group(1)
                     start, stop = (_msectotimecode(int(t)) for t in m.groups()[1:])
                 if m:
                     yield m.group(1)
                     start, stop = (_msectotimecode(int(t)) for t in m.groups()[1:])
-                    yield "{} --> {}".format(start, stop)
+                    yield "{0} --> {1}".format(start, stop)
                 else:
                     yield line
 
                 else:
                     yield line