From b882f7e1f1f68d1d145491509038257d6df71e1f Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 21 May 2014 19:42:32 +0200 Subject: [PATCH] Typo --- scripts/translation_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/translation_utils.py b/scripts/translation_utils.py index ad3edcaa3..13e6a0ed3 100755 --- a/scripts/translation_utils.py +++ b/scripts/translation_utils.py @@ -194,7 +194,7 @@ def download_translations(): password = getpass(' Transifex password: ') # First get the list of languages url = SERVER_URL + 'resource/ents/' - base64string = base64.encodbytes('%s:%s' % (username, password))[:-1] + base64string = base64.encodebytes('%s:%s' % (username, password))[:-1] auth_header = 'Basic %s' % base64string request = urllib.request.Request(url + '?details') request.add_header('Authorization', auth_header)