Skip to content

Commit f92504b

Browse files
authored
Merge pull request #174 from slimta/named
Fix a bug in the pysasl integration
2 parents ecfb6d2 + 63b2e10 commit f92504b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
license = f.read()
2929

3030
setup(name='python-slimta',
31-
version='5.0.0',
31+
version='5.0.1',
3232
author='Ian Good',
3333
author_email='ian@icgood.net',
3434
description='Lightweight, asynchronous SMTP libraries.',

slimta/smtp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __init__(self, socket, handlers, address=None, auth=False,
117117
self.extensions.add('STARTTLS')
118118
if auth:
119119
if isinstance(auth, list):
120-
auth_obj = SASLAuth(auth)
120+
auth_obj = SASLAuth.named(auth)
121121
else:
122122
auth_obj = SASLAuth.defaults()
123123
auth_session = AuthSession(auth_obj, self.io)

0 commit comments

Comments
 (0)