Update __init__.py

pull/109/head
midoks 3 years ago
parent d795c23609
commit 1e81f1e516
  1. 16
      route/__init__.py

@ -448,14 +448,16 @@ def connected_msg(msg):
pass
# print 'connected_msg:' + str(e)
try:
import paramiko
ssh = paramiko.SSHClient()
# 启动尝试时连接
connect_ssh()
except Exception as e:
print("本地终端无法使用")
if not mw.isAppleSystem():
try:
import paramiko
ssh = paramiko.SSHClient()
# 启动尝试时连接
connect_ssh()
except Exception as e:
print("本地终端无法使用")
##################### ssh end ###########################

Loading…
Cancel
Save