aboutsummaryrefslogtreecommitdiffstats
path: root/cloud_mdir_sync/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_mdir_sync/main.py')
-rw-r--r--cloud_mdir_sync/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud_mdir_sync/main.py b/cloud_mdir_sync/main.py
index ab39676..af179cb 100644
--- a/cloud_mdir_sync/main.py
+++ b/cloud_mdir_sync/main.py
@@ -28,7 +28,7 @@ def force_local_to_cloud(cfg: config.Config, msgs: messages.MBoxDict_Type):
local changes."""
for mbox, msgdict in msgs.items():
if not mbox.same_messages(msgdict):
- mbox.force_content(cfg.msgdb, msgdict)
+ mbox.force_content(msgdict)
return msgs
@@ -65,7 +65,7 @@ async def synchronize_mail(cfg: config.Config):
msgs = None
while True:
try:
- await asyncio.gather(*(mbox.update_message_list(cfg.msgdb)
+ await asyncio.gather(*(mbox.update_message_list()
for mbox in cfg.all_mboxes()
if mbox.need_update))