Merge branch 'master' of github.com:jblume/rainmeter-python

This commit is contained in:
Johannes Blume 2013-03-03 19:41:22 +01:00
commit af08f8e354
1 changed files with 4 additions and 4 deletions

View File

@ -63,10 +63,10 @@ Host=mail.com
import imaplib import imaplib
class Measure: class Measure:
def Reload(self, nm, maxValue): def Reload(self, rm, maxValue):
self.host = nm.RmReadString('Host', 'example.com', False) self.host = rm.RmReadString('Host', 'example.com', False)
self.username = nm.RmReadString('Username', 'user', False) self.username = rm.RmReadString('Username', 'user', False)
self.password = nm.RmReadString('Password', 'pass', False) self.password = rm.RmReadString('Password', 'pass', False)
def Update(self): def Update(self):
con = imaplib.IMAP4(self.host) con = imaplib.IMAP4(self.host)