creer_compte_wiki.py: mdp encodé aussi

This commit is contained in:
Daniel STAN 2015-09-06 23:02:53 +02:00
parent e2eb01f2aa
commit 4874b2eebc

View file

@ -42,7 +42,7 @@ def send(msg, user=user):
def creer_compte(nom, mdp, email, user=user):
form = {'action': 'crans_newaccount',
'name': nom.encode(encoding),
'password': mdp,
'password': mdp.encode(encoding),
'email': email.encode(encoding),
'create_only': 'Create+Profile'}
params = urllib.urlencode(form)