call to setDaemon uses Bool argument
The argument 1 should be True in these files.
This commit is contained in:
@ -60,7 +60,7 @@ class IMAPRepository(BaseRepository):
|
||||
self.kathread = ExitNotifyThread(target=self.imapserver.keepalive,
|
||||
name="Keep alive " + self.getname(),
|
||||
args=(keepalivetime, self.kaevent))
|
||||
self.kathread.setDaemon(1)
|
||||
self.kathread.setDaemon(True)
|
||||
self.kathread.start()
|
||||
|
||||
def stopkeepalive(self):
|
||||
|
Reference in New Issue
Block a user