diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-05-24 09:28:45 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-05-24 09:28:45 +0200 |
| commit | 7c2806b5333b22eb2859c14879991319456cacc6 (patch) | |
| tree | d17d1933193fc9654089bdca46ab46dd30c89946 /lib/python/Components | |
| parent | c5bb99fa2019da12a8fbaa1766189af520b9e79a (diff) | |
| download | enigma2-7c2806b5333b22eb2859c14879991319456cacc6.tar.gz enigma2-7c2806b5333b22eb2859c14879991319456cacc6.zip | |
EpgList.py: fix typo (replace begTime with beginTime)..
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/EpgList.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 3b07412e..59f92621 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -212,7 +212,7 @@ class EPGList(HTMLComponent, GUIComponent): res.append((eListboxPythonMultiContent.TYPE_TEXT, r3.left(), r3.top(), r3.width(), r3.height(), 0, RT_HALIGN_LEFT, service_name)) return res - def buildMultiEntry(self, changecount, service, eventId, begTime, duration, EventName, nowTime, service_name): + def buildMultiEntry(self, changecount, service, eventId, beginTime, duration, EventName, nowTime, service_name): (clock_pic, rec) = self.getPixmapForEntry(service, eventId, beginTime, duration) r1=self.service_rect r2=self.progress_rect @@ -226,10 +226,10 @@ class EPGList(HTMLComponent, GUIComponent): )) else: res.append((eListboxPythonMultiContent.TYPE_TEXT, r1.left(), r1.top(), r1.width(), r1.height(), 0, RT_HALIGN_LEFT, service_name)) - if begTime is not None: - if nowTime < begTime: - begin = localtime(begTime) - end = localtime(begTime+duration) + if beginTime is not None: + if nowTime < beginTime: + begin = localtime(beginTime) + end = localtime(beginTime+duration) # print "begin", begin # print "end", end res.extend(( @@ -237,7 +237,7 @@ class EPGList(HTMLComponent, GUIComponent): (eListboxPythonMultiContent.TYPE_TEXT, r3.left(), r3.top(), r3.width(), r3.height(), 0, RT_HALIGN_LEFT, EventName) )) else: - percent = (nowTime - begTime) * 100 / duration + percent = (nowTime - beginTime) * 100 / duration res.extend(( (eListboxPythonMultiContent.TYPE_PROGRESS, r2.left(), r2.top(), r2.width(), r2.height(), percent), (eListboxPythonMultiContent.TYPE_TEXT, r3.left(), r3.top(), r3.width(), r3.height(), 0, RT_HALIGN_LEFT, EventName) |
