Skip to content

Commit 3e7fb5c

Browse files
committed
Fix #8035. Sip update for plugin installer
1 parent bfbd367 commit 3e7fb5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyplugin_installer/installer_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def __init__(self,*args):
179179
if settings.value("/proxyEnabled", False, type=bool):
180180
self.proxy=QNetworkProxy()
181181
proxyType = settings.value( "/proxyType", "0", type=unicode)
182-
if len(args)>0 and settings.value("/proxyExcludedUrls","", type=unicode).contains(args[0]):
182+
if len(args) > 0 and args[0] in settings.value("/proxyExcludedUrls","", type=unicode):
183183
proxyType = "NoProxy"
184184
if proxyType in ["1","Socks5Proxy"]: self.proxy.setType(QNetworkProxy.Socks5Proxy)
185185
elif proxyType in ["2","NoProxy"]: self.proxy.setType(QNetworkProxy.NoProxy)

0 commit comments

Comments
 (0)