Ensure boot into standby after a power shutdown
authorLittlesat <littlesat99@yahoo.com>
Wed, 2 Apr 2014 17:48:25 +0000 (19:48 +0200)
committerLittlesat <littlesat99@yahoo.com>
Wed, 2 Apr 2014 17:48:25 +0000 (19:48 +0200)
Navigation.py

index 88772a9..83e2ce0 100644 (file)
@@ -1,6 +1,6 @@
 from enigma import eServiceCenter, eServiceReference, eTimer, pNavigation, getBestPlayableServiceReference, iPlayableService, eActionMap
 from Components.ParentalControl import parentalControl
-from Components.config import config
+from Components.config import config, configfile
 from Tools.BoundFunction import boundFunction
 from Tools.StbHardware import setFPWakeuptime, getFPWakeuptime, getFPWasTimerWakeup
 from Tools import Notifications
@@ -39,6 +39,7 @@ class Navigation:
                if config.misc.RestartUI.value:
                        config.misc.RestartUI.value = False
                        config.misc.RestartUI.save()
+                       configfile.save()
                elif config.usage.startup_to_standby.value:
                        Notifications.AddNotification(Screens.Standby.Standby)