Skip to content
Permalink
Browse files

fix #8060 (new SIP API)

  • Loading branch information
borysiasty committed Jun 13, 2013
1 parent d547b25 commit 820a0f783f135756e99bc6578e5ca285f57567b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyplugin_installer/installer_data.py
@@ -180,7 +180,7 @@ def __init__(self,*args):
if settings.value("/proxyEnabled", False, type=bool):
self.proxy=QNetworkProxy()
proxyType = settings.value( "/proxyType", "0", type=unicode)
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:
proxyType = "NoProxy"
if proxyType in ["1","Socks5Proxy"]: self.proxy.setType(QNetworkProxy.Socks5Proxy)
elif proxyType in ["2","NoProxy"]: self.proxy.setType(QNetworkProxy.NoProxy)

0 comments on commit 820a0f7

Please sign in to comment.
You can’t perform that action at this time.