diff options
Diffstat (limited to 'actions/services/__init__.py')
-rwxr-xr-x | actions/services/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/services/__init__.py b/actions/services/__init__.py index bb51b49..748e53c 100755 --- a/actions/services/__init__.py +++ b/actions/services/__init__.py @@ -74,7 +74,7 @@ def _ssh_tcp(name, hostname, address, port, txts): cmdline.append("-e %s" % sshline) pid = subprocess.Popen(cmdline).pid -def _sftp-ssh_tcp(name, hostname, address, port, txts): +def _sftpssh_tcp(name, hostname, address, port, txts): path = get_txt_value(txts,"path") username = get_txt_value(txts,"u") password = get_txt_value(txts,"p") @@ -95,7 +95,7 @@ def handle(name, stype, hostname, address, port, txts): _ssh_tcp(name, hostname, address, port, txts) return if stype == "_sftp-ssh._tcp": - _sftp-ssh_tcp(name, hostname, address, port, txts) + _sftpssh_tcp(name, hostname, address, port, txts) return |