aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2010-09-22 15:39:36 +0200
committeracid-burn <acid-burn@opendreambox.org>2010-09-22 15:39:36 +0200
commitf5ff68d184672add16da02cd34993c2d39b87c82 (patch)
treef4a7702835bc4e82957a307c7d52b33ad1687d4d
parent721452bdbfe05409846dab5d183228ca2ca11ee5 (diff)
downloadenigma2-f5ff68d184672add16da02cd34993c2d39b87c82.tar.gz
enigma2-f5ff68d184672add16da02cd34993c2d39b87c82.zip
Components/DreamInfoHandler.py: ignore old meta-xml index files. refs #578
-rwxr-xr-xlib/python/Components/DreamInfoHandler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py
index dd140cbb..40305671 100755
--- a/lib/python/Components/DreamInfoHandler.py
+++ b/lib/python/Components/DreamInfoHandler.py
@@ -222,6 +222,8 @@ class DreamInfoHandler:
for indexfile in os.listdir(self.directory[0]):
if indexfile.startswith("index-"):
if indexfile.endswith(".xml"):
+ if indexfile[-7:-6] == "_":
+ continue
indexfileList.append(indexfile)
if len(indexfileList):
for file in indexfileList: