summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorAli Sabil <ali.sabil@gmail.com>2007-06-11 13:36:42 (GMT)
committerAli Sabil <ali.sabil@gmail.com>2007-06-11 13:36:42 (GMT)
commit92b93ce5fc8d287f038f31f8ac35124c6d3ee3e4 (patch)
treee65b61f83e8a95f74faf282c63674e9a7e7f9266 /test.py
parent59c2d87bec2782d71e245082bb2b1319b97fbdea (diff)
downloadpapyon-92b93ce5fc8d287f038f31f8ac35124c6d3ee3e4.tar.gz
papyon-92b93ce5fc8d287f038f31f8ac35124c6d3ee3e4.tar.xz
- Cleaned up the SwitchboardManager a bit
- Fixed a ProxyInfos construction bug in test.py
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.py b/test.py
index 80d2a59..22601fd 100644
--- a/test.py
+++ b/test.py
@@ -19,6 +19,8 @@ def get_proxies():
result['https'] = pymsn.Proxy(url)
for type, url in proxies.items():
if type == 'no': continue
+ if type == 'https' and url.startswith('http://'):
+ url = url.replace('http://', 'https://', 1)
result[type] = pymsn.Proxy(url)
return result