diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-02-13 12:54:15 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-02-13 12:54:15 +0100 |
| commit | 20007678238c8cfd9c7d74209f03e1c19f1ce58c (patch) | |
| tree | b6d91276d7394e3238af39dc7a6f019134790f1e /lib | |
| parent | 5d697369d7df003246d66e8af6d305035d2488bd (diff) | |
| download | enigma2-20007678238c8cfd9c7d74209f03e1c19f1ce58c.tar.gz enigma2-20007678238c8cfd9c7d74209f03e1c19f1ce58c.zip | |
filter illegal (newline) characters to fix Dr.Dish TV records
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/Tools/Directories.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py index 7dcd5876..b2e43a49 100644 --- a/lib/python/Tools/Directories.py +++ b/lib/python/Tools/Directories.py @@ -167,7 +167,7 @@ def getRecordingFilename(basename, dirname = None): basename = basename.replace('\xc2\x86', '').replace('\xc2\x87', '') for c in basename: - if c in non_allowed_characters: + if c in non_allowed_characters or ord(c) < 32: c = "_" filename += c |
