fixed tunnel wait

This commit is contained in:
Adolfo Gómez García 2017-03-10 10:00:34 +01:00
parent 2004f4f882
commit 4d6f54f54c
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ if app is None or fnc is None:
''')
else:
# Open tunnel
forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, {m.tunnelWait}) # @UndefinedVariable
forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, {m.tunWait}) # @UndefinedVariable
if forwardThread.status == 2:
raise Exception('Unable to open tunnel')

View File

@ -56,7 +56,7 @@ if executable is None:
''', QtGui.QMessageBox.Ok)
forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, {m.tunnelWait}) # @UndefinedVariable
forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, {m.tunWait}) # @UndefinedVariable
if forwardThread.status == 2:
raise Exception('Unable to open tunnel')