Skip to content

Commit 820a0f7

Browse files
committedJun 13, 2013
fix #8060 (new SIP API)
1 parent d547b25 commit 820a0f7

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
@@ -180,7 +180,7 @@ def __init__(self,*args):
180180
if settings.value("/proxyEnabled", False, type=bool):
181181
self.proxy=QNetworkProxy()
182182
proxyType = settings.value( "/proxyType", "0", type=unicode)
183-
if len(args)>0 and settings.value("/proxyExcludedUrls","", type=unicode).contains(args[0]):
183+
if len(args) > 0 and settings.value("/proxyExcludedUrls","", type=unicode).find(args[0]) > -1:
184184
proxyType = "NoProxy"
185185
if proxyType in ["1","Socks5Proxy"]: self.proxy.setType(QNetworkProxy.Socks5Proxy)
186186
elif proxyType in ["2","NoProxy"]: self.proxy.setType(QNetworkProxy.NoProxy)

0 commit comments

Comments
 (0)
Please sign in to comment.