Commit 5205dbc6 authored by Alexandre Dulaunoy's avatar Alexandre Dulaunoy
Browse files

Fixed pull request #84 - test case of proxy configuration

parent 58c04c9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ class Configuration():

    @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)