Beispiel #1
0
class EmailWorker(Thread):
    def __init__(self, email=None, password=None, last_seq_id=None):
        Thread.__init__(self)
        self.worker = AccountWorker(email=email, password=password, last_seq_id=last_seq_id)

    def run(self):
        self.worker.update_messages()
Beispiel #2
0
 def __init__(self, email=None, password=None, last_seq_id=None):
     Thread.__init__(self)
     self.worker = AccountWorker(email=email, password=password, last_seq_id=last_seq_id)