fix line length

This commit is contained in:
Marc Jauvin 2018-01-31 18:05:14 -05:00
parent 5e96dc4374
commit def2920a35

View File

@ -61,8 +61,10 @@ class ProxyFactory(QNetworkProxyFactory):
"""
proxy = config.val.content.proxy
if proxy is configtypes.SYSTEM_PROXY:
# On Linux, use "export http_proxy=socks5://host:port" to manually set system proxy
# ref. http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery
# On Linux, use "export http_proxy=socks5://host:port"
# to manually set system proxy.
# ref. http://doc.qt.io/qt-5/qnetworkproxyfactory.html
# look under the systemProxyForQuery() call
proxies = QNetworkProxyFactory.systemProxyForQuery(query)
elif isinstance(proxy, pac.PACFetcher):
proxies = proxy.resolve(query)