Skip to content

Commit 48dec8f

Browse files
committed
last missed reference for today
1 parent 9df5bc9 commit 48dec8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sftpretty/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _set_username(self, username):
294294
@contextmanager
295295
def _sftp_channel(self):
296296
'''Establish new SFTP channel.'''
297-
_channel = getattr(self._thread_local, 'channel', None)
297+
_channel = getattr(self._cache, 'channel', None)
298298

299299
try:
300300
if _channel is None or _channel.sock.closed:

0 commit comments

Comments
 (0)