diff options
Diffstat (limited to 'cloud_mdir_sync/mailbox.py')
-rw-r--r-- | cloud_mdir_sync/mailbox.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cloud_mdir_sync/mailbox.py b/cloud_mdir_sync/mailbox.py index 24c64cd..10b0b64 100644 --- a/cloud_mdir_sync/mailbox.py +++ b/cloud_mdir_sync/mailbox.py @@ -42,9 +42,13 @@ class Mailbox(object): messages: "CHMsgDict_Type" = {} changed_event = asyncio.Event() need_update = True + cfg: "config.Config" + + def __init__(self, cfg: "config.Config"): + self.cfg = cfg @abstractmethod - async def setup_mbox(self, cfg: "config.Config") -> None: + async def setup_mbox(self) -> None: pass @abstractmethod |