diff options
Diffstat (limited to 'src/mailman_pgp/runners/outgoing.py')
| -rw-r--r-- | src/mailman_pgp/runners/outgoing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman_pgp/runners/outgoing.py b/src/mailman_pgp/runners/outgoing.py index 0fc9378..92a765d 100644 --- a/src/mailman_pgp/runners/outgoing.py +++ b/src/mailman_pgp/runners/outgoing.py @@ -32,7 +32,7 @@ from mailman_pgp.model.list import PGPMailingList class OutgoingRunner(Runner): def _dispose(self, mlist: MailingList, msg: Message, msgdata: dict): """See `IRunner`.""" - encrypted_list = query(PGPMailingList).filter_by( + encrypted_list = PGPMailingList.query().filter_by( list_id=mlist.list_id).first() if not encrypted_list: outq = config.get('queues', 'out') |
