diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-01-27 18:58:16 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-01-27 18:58:16 +0100 |
| commit | 225bfe06cafe9cf403adf631731f5ae6574565e2 (patch) | |
| tree | 046096c3d4e8e501c2a2b45339326e01bd250dec /lib/python/Components/Converter/ServiceTime.py | |
| parent | fdc322a811049c371bd7dbdb75192534cebd36c8 (diff) | |
| parent | 09f66522e9f51ac8fc7921bd77ba36a9d9d3d4b3 (diff) | |
| download | enigma2-225bfe06cafe9cf403adf631731f5ae6574565e2.tar.gz enigma2-225bfe06cafe9cf403adf631731f5ae6574565e2.zip | |
Merge branch 'master' of /home/tmbinc/enigma2-git
Diffstat (limited to 'lib/python/Components/Converter/ServiceTime.py')
| -rw-r--r-- | lib/python/Components/Converter/ServiceTime.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Converter/ServiceTime.py b/lib/python/Components/Converter/ServiceTime.py index 16bcae3a..89965067 100644 --- a/lib/python/Components/Converter/ServiceTime.py +++ b/lib/python/Components/Converter/ServiceTime.py @@ -1,5 +1,5 @@ from Converter import Converter -from Components.Element import cached +from Components.Element import cached, ElementError from enigma import iServiceInformation class ServiceTime(Converter, object): @@ -16,7 +16,7 @@ class ServiceTime(Converter, object): elif type == "Duration": self.type = self.DURATION else: - raise str("'%s' is not <StartTime|EndTime|Duration> for eEventTime converter" % type) + raise ElementError("'%s' is not <StartTime|EndTime|Duration> for eEventTime converter" % type) @cached def getTime(self): |
