Skip to content

Commit

Permalink
Merge pull request #86 from schercav/patch-1
Browse files Browse the repository at this point in the history
Update util.py
  • Loading branch information
paragbaxi authored Jun 8, 2020
2 parents 0197630 + cdd4da2 commit 3047c54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qualysapi/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ def connect(
password=None,
hostname="qualysapi.qualys.com",
max_retries="3",
proxies=None,
):
""" Return a QGAPIConnect object for v1 API pulling settings from config
file.
"""
# Use function parameter login credentials.
if username and password:
connect = qcconn.QGConnector(
auth=(username, password), server=hostname, max_retries=max_retries
auth=(username, password), server=hostname, max_retries=max_retries, proxies=proxies
)

# Retrieve login credentials from config file.
Expand Down

0 comments on commit 3047c54

Please sign in to comment.