Update README.md

This commit is contained in:
Johannes Blume 2013-03-03 01:41:45 +01:00
parent 7dccf686d9
commit a1021d3afa
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)