diff options
Diffstat (limited to 'slixmpp')
-rw-r--r-- | slixmpp/xmlstream/resolver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/resolver.py b/slixmpp/xmlstream/resolver.py index fb2c3d31..778f7dc3 100644 --- a/slixmpp/xmlstream/resolver.py +++ b/slixmpp/xmlstream/resolver.py @@ -193,7 +193,7 @@ def get_A(host, resolver=None, use_aiodns=True, loop=None): except Exception as e: log.debug('DNS: Exception while querying for %s A records: %s', host, e) recs = [] - return recs + return [rec.host for rec in recs] @asyncio.coroutine |