We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d547b25 commit 820a0f7Copy full SHA for 820a0f7
python/pyplugin_installer/installer_data.py
@@ -180,7 +180,7 @@ def __init__(self,*args):
180
if settings.value("/proxyEnabled", False, type=bool):
181
self.proxy=QNetworkProxy()
182
proxyType = settings.value( "/proxyType", "0", type=unicode)
183
- if len(args)>0 and settings.value("/proxyExcludedUrls","", type=unicode).contains(args[0]):
+ if len(args) > 0 and settings.value("/proxyExcludedUrls","", type=unicode).find(args[0]) > -1:
184
proxyType = "NoProxy"
185
if proxyType in ["1","Socks5Proxy"]: self.proxy.setType(QNetworkProxy.Socks5Proxy)
186
elif proxyType in ["2","NoProxy"]: self.proxy.setType(QNetworkProxy.NoProxy)
0 commit comments