Merge branch 'master' of github.com:jblume/rainmeter-python
This commit is contained in:
commit
af08f8e354
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue