diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-07-25 17:38:05 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-07-25 17:38:05 +0000 |
| commit | 7c1b7fe307737d330493694f0735b380b718576c (patch) | |
| tree | 34e12cbf3d20b96f7f96a7288e3ca169d7dd50e9 /lib/python/Components | |
| parent | f96990d7d97115a2cdc070dedd88629c11a17f39 (diff) | |
| download | enigma2-7c1b7fe307737d330493694f0735b380b718576c.tar.gz enigma2-7c1b7fe307737d330493694f0735b380b718576c.zip | |
fix bluescreen ... i hope this is okay
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Element.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Element.py b/lib/python/Components/Element.py index 884c87d3..54a1cc25 100644 --- a/lib/python/Components/Element.py +++ b/lib/python/Components/Element.py @@ -29,7 +29,8 @@ class Element: # we should not disconnect from upstream if # there are still elements depending on us. assert len(self.downstream_elements) == 0, "there are still downstream elements left" - self.source.disconnectDownstream(self) + if self.source: + self.source.disconnectDownstream(self) def disconnectDownstream(self, downstream): self.downstream_elements.remove(downstream) |
