DekelE added a comment.

Updating:

When I tied to run thre following code, the bot worked fine:

username = 'בלה'`
username.decode('utf-8')`

and on unblockuser function:
user=user.username.encode('utf-8')

However, when I sent just username = u'בלה' and add the same code to the unblockuser function, I got an Error Message.


TASK DETAIL
https://phabricator.wikimedia.org/T143937

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DekelE
Cc: Mpaa, Xqt, DekelE, Guycn2, Aklapper, valhallasw, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to