Initialize sftp variable to fix error on transferless session

parent 2d3c9452
......@@ -45,6 +45,7 @@ class Connection(object):
def __init__(self, runner, host, port=None):
self.ssh = None
self.sftp = None
self.runner = runner
self.host = host
self.port = port
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment