diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-11-24 12:56:11 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-11-24 12:56:11 +0000 |
| commit | a38e3d37224cd6e9f4fd65251bc78d0d1b86e156 (patch) | |
| tree | fa3d620ad76cdc464831a2467a1270fb3dd6f537 /lib/python/Components | |
| parent | c96458e835dbd5771729b6f281dc7a89283a5b3a (diff) | |
| download | enigma2-a38e3d37224cd6e9f4fd65251bc78d0d1b86e156.tar.gz enigma2-a38e3d37224cd6e9f4fd65251bc78d0d1b86e156.zip | |
don't crash when no StreamService reference was set
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Sources/StreamService.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/Sources/StreamService.py b/lib/python/Components/Sources/StreamService.py index ac8db34d..fbd3d255 100644 --- a/lib/python/Components/Sources/StreamService.py +++ b/lib/python/Components/Sources/StreamService.py @@ -29,6 +29,9 @@ class StreamService(Source): self.changed((self.CHANGED_ALL, )) def execBegin(self): + if self.ref is None: + print "StreamService has no service ref set." + return print "StreamService execBegin", self.ref.toString() self.__service = self.navcore.recordService(self.ref) self.navcore.record_event.append(self.recordEvent) |
