aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-25 23:00:29 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-25 23:00:29 +0000
commitbeee08d9e6f0a55b46a9668dbcdd5ae8e0acf253 (patch)
tree519fdd136cd99cbe66f5590ca33d1d6f8ccf8624 /lib/python
parentc767434380ce3dc9fed8c55e69cda5c4e1544005 (diff)
downloadenigma2-beee08d9e6f0a55b46a9668dbcdd5ae8e0acf253.tar.gz
enigma2-beee08d9e6f0a55b46a9668dbcdd5ae8e0acf253.zip
improve file naming
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