Skip to content

Commit

Permalink
Merge pull request #174 from slimta/named
Browse files Browse the repository at this point in the history
Fix a bug in the pysasl integration
  • Loading branch information
icgood authored Feb 2, 2022
2 parents ecfb6d2 + 63b2e10 commit f92504b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
license = f.read()

setup(name='python-slimta',
version='5.0.0',
version='5.0.1',
author='Ian Good',
author_email='[email protected]',
description='Lightweight, asynchronous SMTP libraries.',
Expand Down
2 changes: 1 addition & 1 deletion slimta/smtp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def __init__(self, socket, handlers, address=None, auth=False,
self.extensions.add('STARTTLS')
if auth:
if isinstance(auth, list):
auth_obj = SASLAuth(auth)
auth_obj = SASLAuth.named(auth)
else:
auth_obj = SASLAuth.defaults()
auth_session = AuthSession(auth_obj, self.io)
Expand Down

0 comments on commit f92504b

Please sign in to comment.