aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Standby.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
index 88367cf7..a7819268 100644
--- a/lib/python/Screens/Standby.py
+++ b/lib/python/Screens/Standby.py
@@ -5,7 +5,7 @@ from Components.AVSwitch import AVSwitch
from enigma import eDVBVolumecontrol, eDBoxLCD, eServiceReference
from Components.Sources.Clock import Clock
-inStandby = False
+inStandby = None
class Standby(Screen):
def Power(self):
@@ -63,12 +63,11 @@ class Standby(Screen):
def __onShow(self):
global inStandby
- inStandby = True
+ inStandby = self
def __onHide(self):
global inStandby
- inStandby = False
-
+ inStandby = None
class StandbySummary(Screen):
skin = """