aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Tools/Directories.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py
index 85da5321..003d9a8e 100644
--- a/lib/python/Tools/Directories.py
+++ b/lib/python/Tools/Directories.py
@@ -41,7 +41,7 @@ def getRecordingFilename(basename):
while True:
path = "/hdd/movies/" + filename
if i > 0:
- path += str(i)
+ path += "_%03d" % i
try:
open(path + ".ts")
i += 1