From: acid-burn Date: Wed, 22 Sep 2010 13:39:36 +0000 (+0200) Subject: Components/DreamInfoHandler.py: ignore old meta-xml index files. refs #578 X-Git-Tag: 3.0.0~97^2~1 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/f5ff68d184672add16da02cd34993c2d39b87c82?ds=sidebyside;hp=721452bdbfe05409846dab5d183228ca2ca11ee5 Components/DreamInfoHandler.py: ignore old meta-xml index files. refs #578 --- 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: