diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-11-15 05:08:31 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-11-15 05:08:31 +0000 |
| commit | 74853a81c5f017675176455eeae4738fa36809e4 (patch) | |
| tree | 5c2877a84d0fa92ed2cb486a2762b09b2e4bc6c2 /lib/python | |
| parent | 06fb2bcb4ddf528cbe65d58be41cf8ecf8697e76 (diff) | |
| download | enigma2-74853a81c5f017675176455eeae4738fa36809e4.tar.gz enigma2-74853a81c5f017675176455eeae4738fa36809e4.zip | |
add count suffix
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Tools/Directories.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py index 982db6f0..9cd29511 100644 --- a/lib/python/Tools/Directories.py +++ b/lib/python/Tools/Directories.py @@ -42,7 +42,6 @@ def getRecordingFilename(basename): path = "/hdd/movies/" + filename if i > 0: path += str(i) -# if os.glob(path + "*").size() == 0: -# return path - return path + if os.glob(path + "*").size() == 0: + return path i+=1 |
