move error fixing

This commit is contained in:
2013-07-06 21:59:33 +10:00
parent 4a5cc6d0c6
commit a10bed2ddb
5 changed files with 18 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ def GetFilesToPrepare(path, numberofFiles, shows):
if showData:
showsToProcess.append(showData)
i = i + 1
if i == numberofFiles:
if i == int(numberofFiles):
return showsToProcess
return showsToProcess #will reach here if there were less than numberofFiles found