Fixed merge mistake

This commit is contained in:
Adolfo Gómez García 2017-02-07 07:55:00 +01:00
parent f1a7c4661e
commit c3c11f3326

View File

@ -47,7 +47,7 @@ import six
import os
import logging
__updated__ = '2017-01-30'
__updated__ = '2017-02-07'
logger = logging.getLogger(__name__)
@ -164,7 +164,7 @@ class BaseX2GOTransport(Transport):
ready = self.cache.get(ip)
if ready is None:
# Check again for ready
if self.testServer(userService, ip, '22') is True:
if connection.testServer(ip, '22') is True:
self.cache.put(ip, 'Y', READY_CACHE_TIMEOUT)
return True
else: