aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Sources')
-rw-r--r--lib/python/Components/Sources/StreamService.py3
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)