modify port type

pull/7/merge
ibuler 10 years ago
parent 38f89042ac
commit bf80799fb6

@ -365,7 +365,7 @@ def get_user_host(username):
def get_connect_item(username, ip):
asset = get_object(Asset, ip=ip)
port = asset.port
port = int(asset.port)
if not asset.is_active:
raise ServerError('Host %s is not active.' % ip)

Loading…
Cancel
Save