summaryrefslogtreecommitdiffstats
path: root/bin/updater.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/updater.py')
-rw-r--r--bin/updater.py2
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)