fix string and integer concat error. Fixes #1036

This commit is contained in:
clinton-hall 2016-05-19 13:27:39 +09:30
parent 417b79db12
commit c1b73be96a

View file

@ -419,7 +419,7 @@ def buildCommands(file, newDir, movieName, bitbucket):
if subStreams[index]["index"] == sub["index"]:
subloc = index
break
video_cmd.extend(['-vf', 'subtitles=' + inputFile + ":si=" + subloc])
video_cmd.extend(['-vf', 'subtitles=' + inputFile + ':si=' + str(subloc)])
burnt = 1
if not core.ALLOWSUBS:
break