diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |