Priority: optional
Maintainer: 3c5x9 <3c5x9@gmx.net>
Homepage: n/a
-Depends: enigma2, twisted-web, twisted-mail, python-email, python-pyopenssl
+Depends: enigma2, twisted-web, twisted-mail, python-email, python-pyopenssl, python-shell
Source: http://schwerkraft.elitedvb.net/scm/?group_id=11
from Components.GUIComponent import GUIComponent
from Components.HTMLComponent import HTMLComponent
from Components.Label import Label
+from Screens.MessageBox import MessageBox
from Components.MenuList import MenuList
from Components.MultiContent import MultiContentEntryText
from Components.ScrollLabel import ScrollLabel
return imap4.encoder(str.decode('utf-8'))[0]
def main(session, **kwargs):
- session.open(EmailScreen)
-
+ import os,shutil
+ if os.path.isfile('/usr/lib/python2.5/uu.py') is not True:
+ shutil.copy('/usr/lib/enigma2/python/Plugins/Extensions/EmailClient/uu.py', '/usr/lib/python2.5/uu.py')
+ global session2
+ session2 = session
+ session.openWithCallback(MessageCB, MessageBox, 'In order of missing standart python library files\ni have copied the nessary files now.\nBut you have to restart your Box\n to apply this!', type = MessageBox.TYPE_INFO)
+ else:
+ session.open(EmailScreen)
+def MessageCB(balblub):
+ global session2
+ session2.open(EmailScreen)
+
def Plugins(path, **kwargs):
global plugin_path
plugin_path = path