minor style changes

This commit is contained in:
clinton-hall 2014-09-19 15:44:27 +09:30
commit eb01ae7ef8

View file

@ -559,7 +559,7 @@ def ripISO(item, newDir, bitbucket):
concat = [] concat = []
m = 1 m = 1
while True: while True:
vtsName = 'VIDEO_TS%sVTS_%02d_%s.VOB' % (os.sep, n+1, str(m)) vtsName = 'VIDEO_TS%sVTS_%02d_%d.VOB' % (os.sep, n+1, m)
if vtsName in fileList: if vtsName in fileList:
concat.append(vtsName) concat.append(vtsName)
m += 1 m += 1
@ -584,9 +584,9 @@ def combineVTS(vtsPath):
concat = '' concat = ''
m = 1 m = 1
while True: while True:
vtsName = 'VTS_%02d_%s.VOB' % (n+1, str(m)) vtsName = 'VTS_%02d_%d.VOB' % (n+1, m)
if os.path.isfile(os.path.join(vtsPath, vtsName)): if os.path.isfile(os.path.join(vtsPath, vtsName)):
concat = concat + '%s|' % (os.path.join(vtsPath, vtsName)) concat = concat + os.path.join(vtsPath, vtsName) + '|'
m += 1 m += 1
else: else:
break break