aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ChannelSelection.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-01 10:22:21 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-01 10:23:11 +0100
commit699b940aa0a2e8e7ae21c1319d0c5d69d57279cc (patch)
tree86cd38e2d64b3c413efce7a320c712eb128b0975 /lib/python/Screens/ChannelSelection.py
parentbc87ed9e2cbfa1a5667ac583bdace946ffff9ae0 (diff)
downloadenigma2-699b940aa0a2e8e7ae21c1319d0c5d69d57279cc.tar.gz
enigma2-699b940aa0a2e8e7ae21c1319d0c5d69d57279cc.zip
fix crash with enabled parentalcontrol in some conditions (i.e. when try to add a channel to bouquet/favourites)
refs bug #607
Diffstat (limited to 'lib/python/Screens/ChannelSelection.py')
-rw-r--r--lib/python/Screens/ChannelSelection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 1c05bbf3..c872bce9 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -20,7 +20,6 @@ from Components.Sources.ServiceEvent import ServiceEvent
profile("ChannelSelection.py 2.3")
from Components.Input import Input
profile("ChannelSelection.py 3")
-from Components.ParentalControl import parentalControl
from Components.ChoiceList import ChoiceList, ChoiceEntryComponent
from Components.SystemInfo import SystemInfo
from Screens.InputBox import InputBox, PinInput
@@ -77,6 +76,7 @@ def append_when_current_valid(current, menu, args, level = 0, key = ""):
class ChannelContextMenu(Screen):
def __init__(self, session, csel):
+ from Components.ParentalControl import parentalControl
Screen.__init__(self, session)
#raise Exception("we need a better summary screen here")
self.csel = csel