summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index b2845d8a..7dbdbfa5 100755
--- a/main.py
+++ b/main.py
@@ -476,7 +476,7 @@ def init_http():
476 n = netrc.netrc() 476 n = netrc.netrc()
477 for host in n.hosts: 477 for host in n.hosts:
478 p = n.hosts[host] 478 p = n.hosts[host]
479 mgr.add_password(p[1], 'http://%s/' % host, p[0], p[2]) 479 mgr.add_password(p[1], 'http://%s/' % host, p[0], p[2])
480 mgr.add_password(p[1], 'https://%s/' % host, p[0], p[2]) 480 mgr.add_password(p[1], 'https://%s/' % host, p[0], p[2])
481 except netrc.NetrcParseError: 481 except netrc.NetrcParseError:
482 pass 482 pass