[weboob] [PATCH 4/6] [hellobank] fix conversion warning

Kitof git at kitof.net
Mon Jul 22 16:11:27 CEST 2013


From: Christophe Lampin <weboob at lampin.net>


Signed-off-by: Christophe Lampin <weboob at lampin.net>
---
 modules/hellobank/browser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hellobank/browser.py b/modules/hellobank/browser.py
index 27fdf01..a29154a 100755
--- a/modules/hellobank/browser.py
+++ b/modules/hellobank/browser.py
@@ -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
-- 
1.8.1.4




More information about the weboob mailing list