We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c72ab3 commit ceec170Copy full SHA for ceec170
import_export_package.py
@@ -60,7 +60,10 @@ def get_version(client):
60
handle_login_fail(not test_reply.success, "Extract SID is invalid!")
61
get_version(client)
62
elif args.login == '4':
63
- client.sid = input("Please enter sid: ")
+ if args.session_id:
64
+ client.sid = args.session_id
65
+ else:
66
+ client.sid = input("Please enter sid: ")
67
test_reply = client.api_call("show-hosts", {"limit": 1})
68
handle_login_fail(not test_reply.success, "Supplied SID is invalid!")
69
0 commit comments