diff options
| author | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-11-15 04:07:53 +0000 |
|---|---|---|
| committer | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-11-15 04:07:53 +0000 |
| commit | 1c76ad3b38e3dc87b32fe3ed1016c5ef54df776b (patch) | |
| tree | aac923a34dd2d42bde83491a7b70f9ae4470bc4c /lib/python | |
| parent | 364dcf5cdfa9f39414074a48501f25d714117729 (diff) | |
| download | enigma2-1c76ad3b38e3dc87b32fe3ed1016c5ef54df776b.tar.gz enigma2-1c76ad3b38e3dc87b32fe3ed1016c5ef54df776b.zip | |
add missing import
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 10 |
1 files changed, 9 insertions, 1 deletions
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) |
