From 1c76ad3b38e3dc87b32fe3ed1016c5ef54df776b Mon Sep 17 00:00:00 2001 From: Ronny Strutz Date: Tue, 15 Nov 2005 04:07:53 +0000 Subject: [PATCH 1/1] add missing import --- lib/python/Screens/InfoBarGenerics.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 5e28cdee..bf76c267 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -18,6 +18,8 @@ from Screens.Standby import Standby #from enigma import eTimer, eDVBVolumecontrol, quitMainloop from enigma import * +import time + # hack alert! from Menu import MainMenu, mdom @@ -184,7 +186,13 @@ class InfoBarPowerKey: def quit(self): # self.session.open(Standby, self) - configfile.save() + ref = self.session.nav.getCurrentlyPlayingServiceReference() + if ref is not None: + refstr = ref.toString() + else: + refstr = "" + + #configfile.save() quitMainloop(0) -- 2.30.2