forked from openlp/openlp
Typo
This commit is contained in:
parent
49a48c6463
commit
b882f7e1f1
@ -194,7 +194,7 @@ def download_translations():
|
|||||||
password = getpass(' Transifex password: ')
|
password = getpass(' Transifex password: ')
|
||||||
# First get the list of languages
|
# First get the list of languages
|
||||||
url = SERVER_URL + 'resource/ents/'
|
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
|
auth_header = 'Basic %s' % base64string
|
||||||
request = urllib.request.Request(url + '?details')
|
request = urllib.request.Request(url + '?details')
|
||||||
request.add_header('Authorization', auth_header)
|
request.add_header('Authorization', auth_header)
|
||||||
|
Loading…
Reference in New Issue
Block a user