Skip to content

Commit

Permalink
Fixed pull request #84 - test case of proxy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
adulau committed May 20, 2015
1 parent 58c04c9 commit 5205dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def getProxy(cls):

@classmethod
def getFile(cls, getfile):
if not cls.getProxy():
if cls.getProxy():
proxy = req.ProxyHandler({'http': cls.getProxy(), 'https': cls.getProxy()})
auth = req.HTTPBasicAuthHandler()
opener = req.build_opener(proxy, auth, req.HTTPHandler)
Expand Down

0 comments on commit 5205dbc

Please sign in to comment.