diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-23 19:54:25 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-24 17:31:44 +0100 |
commit | ec10bd2eda5d768a054af85608a8f52d8f7420b9 (patch) | |
tree | 8845fcdef58f2b2d71b0292899cd9909303021ad | |
parent | 0f8271ce8d3e641400befba098d7761acdfa5333 (diff) |
db/manager: fix signature of Database.add()
-rw-r--r-- | alot/db/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/manager.py b/alot/db/manager.py index 6477d696..4d9b5778 100644 --- a/alot/db/manager.py +++ b/alot/db/manager.py @@ -101,7 +101,7 @@ class _DBOperationMsgAdd(_DBOperation): super().__init__(dbman, tags) def _apply(self, db): - msg, _ = db.add(self._path, self._dbman._sync_flags) + msg, _ = db.add(self._path, sync_flags = self._dbman._sync_flags) msg_tags = msg.tags msg_tags |= self._tags |