diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-01 20:30:11 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-01 20:30:11 +0100 |
| commit | 9846407eaa878cb717ae15faba55a13079b2c212 (patch) | |
| tree | 009fa4561cb5270668fd3b45d5fe655c49466d2f /lib/python/Plugins | |
| parent | bf083763c6d0fb1797e574696c2bda82ab481c1a (diff) | |
| download | enigma2-9846407eaa878cb717ae15faba55a13079b2c212.tar.gz enigma2-9846407eaa878cb717ae15faba55a13079b2c212.zip | |
graphmultiepg: fix crash when press red on channel without epg
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py index 1af90f13..7f422c96 100644 --- a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py +++ b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py @@ -489,7 +489,8 @@ class GraphMultiEPG(Screen): if self.zapFunc and self["key_red"].getText() == "Zap": self.closeRecursive = True ref = self["list"].getCurrent()[1] - self.zapFunc(ref.ref) + if ref: + self.zapFunc(ref.ref) def eventSelected(self): self.infoKeyPressed() |
