diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-01-10 00:34:15 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-01-10 00:34:15 +0000 |
| commit | 053b66b521438dee9485a0ef16e2e7292af49b51 (patch) | |
| tree | d61a2e38882abcae83bca36b7a7d1ceeaf5d5421 /lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py | |
| parent | 704af241ff75bb41795cb5588f154aaf77274db5 (diff) | |
| download | enigma2-053b66b521438dee9485a0ef16e2e7292af49b51.tar.gz enigma2-053b66b521438dee9485a0ef16e2e7292af49b51.zip | |
fix bsod when draw epglist entrys without beginTime
Diffstat (limited to 'lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py index d6d27595..ae586081 100644 --- a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py +++ b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py @@ -215,7 +215,7 @@ class EPGList(HTMLComponent, GUIComponent): borderColor = self.borderColor for ev in events: #(event_id, event_title, begin_time, duration) - rec=self.timer.isInTimer(ev[0], ev[2], ev[3], service) > ((ev[3]/10)*8) + rec=ev[2] and self.timer.isInTimer(ev[0], ev[2], ev[3], service) > ((ev[3]/10)*8) xpos, ewidth = self.calcEntryPosAndWidthHelper(ev[2], ev[3], start, end, width) res.append(MultiContentEntryText(pos = (left+xpos, top), size = (ewidth, height), font = 1, flags = RT_HALIGN_CENTER | RT_VALIGN_CENTER | RT_WRAP, text = ev[1], color = foreColor, color_sel = foreColorSelected, backcolor = backColor, backcolor_sel = backColorSelected, border_width = 1, border_color = borderColor)) if rec and ewidth > 23: |
