Skip to content

Commit

Permalink
When recording is broken start new recording with _001 as it was before
Browse files Browse the repository at this point in the history
With the latest changes it was changed to _000
  • Loading branch information
Littlesat authored and teamblue-e2 committed Mar 12, 2019
1 parent bffd861 commit 934b2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Tools/Directories.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def getRecordingFilename(basename, dirname = None):

if not os.path.isfile("%s.ts" % filename):
return filename
for i in range(0,1000):
for i in range(1,1000):
newfilename = "%s_%03d" % (filename, i)
if os.path.isfile("%s.ts" % newfilename):
if not os.path.islink("%s.eit" % newfilename):
Expand Down

0 comments on commit 934b2c6

Please sign in to comment.