Skip to content

Commit 998e34e

Browse files
authored
Merge pull request #2 from rizkg/master
added proxy param to RemoteConnection
2 parents 35afe96 + eb0b403 commit 998e34e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qasm/dwave.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def connect_to_dwave():
2424
try:
2525
url = os.environ["DW_INTERNAL__HTTPLINK"]
2626
token = os.environ["DW_INTERNAL__TOKEN"]
27-
conn = RemoteConnection(url, token)
27+
proxy = os.environ["DW_INTERNAL__HTTPPROXY"]
28+
conn = RemoteConnection(url, token, proxy)
2829
except KeyError:
2930
url = "<local>"
3031
token = "<N/A>"

0 commit comments

Comments
 (0)