fix conversion warning

Signed-off-by: Christophe Lampin <weboob@lampin.net>
This commit is contained in:
Christophe Lampin 2013-07-22 16:11:27 +02:00 committed by Florent
commit 222f65d373

View file

@ -217,7 +217,7 @@ class HelloBank(BaseBrowser):
self.form.set_all_readonly(False)
self['identifiant'] = page_id
if len(thread.id):
self['idMessage'] = thread.id
self['idMessage'] = thread.id.encode('utf-8')
# the JS does this, but it makes us unable to read unread messages
#if unread:
# self['newMsg'] = thread.id