diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-05 16:39:09 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-05 16:39:09 +0200 |
commit | cb33a80b60b16942132cb356badaf9d18b0ca696 (patch) | |
tree | 0a0e2965938c23cd7c34492a17a4ae034aaf5803 /bin/updater.py | |
parent | f58dff275919263182fa740f05f9fd9213e30138 (diff) |
ignore update errors when using the update script
Diffstat (limited to 'bin/updater.py')
-rw-r--r-- | bin/updater.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updater.py b/bin/updater.py index 9e6d7b5a0..5c83b98b0 100644 --- a/bin/updater.py +++ b/bin/updater.py @@ -132,7 +132,7 @@ def main(): # register user and password for a certain url auth = urllib.request.HTTPPasswordMgrWithDefaultRealm() - auth.add_password(None, args.url, args.user, args.password) + auth.add_password("Authorisation Required", args.url, args.user, args.password) auth_handler = urllib.request.HTTPBasicAuthHandler(auth) opener = urllib.request.build_opener(auth_handler) urllib.request.install_opener(opener) |