diff options
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -789,7 +789,7 @@ def init_http(): | |||
| 789 | mgr.add_password(p[1], "https://%s/" % host, p[0], p[2]) | 789 | mgr.add_password(p[1], "https://%s/" % host, p[0], p[2]) |
| 790 | except netrc.NetrcParseError: | 790 | except netrc.NetrcParseError: |
| 791 | pass | 791 | pass |
| 792 | except IOError: | 792 | except OSError: |
| 793 | pass | 793 | pass |
| 794 | handlers.append(_BasicAuthHandler(mgr)) | 794 | handlers.append(_BasicAuthHandler(mgr)) |
| 795 | handlers.append(_DigestAuthHandler(mgr)) | 795 | handlers.append(_DigestAuthHandler(mgr)) |
