Skip to content

Commit b86342b

Browse files
committed
Properly handle URL and token parameters in the example scripts (thanks Jason Cherry)
1 parent 8cd3395 commit b86342b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cbapi/example_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_cb_response_object(args):
2929
logging.getLogger("__main__").setLevel(logging.DEBUG)
3030

3131
if args.cburl and args.apitoken:
32-
cb = CbEnterpriseResponseAPI(args.cburl, args.apitoken)
32+
cb = CbEnterpriseResponseAPI(url=args.cburl, token=args.apitoken, ssl_verify=(not args.no_ssl_verify))
3333
else:
3434
cb = CbEnterpriseResponseAPI(profile=args.profile)
3535

0 commit comments

Comments
 (0)