Avoid circular reference

This commit is contained in:
Gouvernathor 2023-11-16 01:38:39 +01:00
parent 4b8371e292
commit db30cd66d3

View File

@ -180,7 +180,10 @@ init python:
self.wait = wait self.wait = wait
self.label = label self.label = label
self.func = func self.func = func
self.queue = mailbox.letters
@property
def queue(self):
return mailbox.letters
def send(self): def send(self):
self.mailed = True self.mailed = True