git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check for file existence
[enigma2.git]
/
lib
/
python
/
Components
/
DreamInfoHandler.py
diff --git
a/lib/python/Components/DreamInfoHandler.py
b/lib/python/Components/DreamInfoHandler.py
index 33b86bb27b885b2bb7bf7b8338d41586db06fcb6..3c014b8ac461b1611b405eb029e8a27daa1cf012 100644
(file)
--- a/
lib/python/Components/DreamInfoHandler.py
+++ b/
lib/python/Components/DreamInfoHandler.py
@@
-205,6
+205,8
@@
class DreamInfoHandler:
self.mergeServices(service["directory"], service["name"])
def readfile(self, filename):
+ if not os.path.isfile(filename):
+ return []
fd = open(filename)
lines = fd.readlines()
fd.close()