From 83987f5b2efc9e4a1bd8272b9b8ed467cfce14f3 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 10 Apr 2013 17:09:16 +0200 Subject: [PATCH] fix encoding error to get history for accounts with special chars in name --- modules/creditdunord/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index 28170263..5a2c7b3e 100644 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -136,7 +136,7 @@ class ProAccountsPage(AccountsPage): args = {} for i, key in enumerate(self.ARGS): - args[key] = l[self.ARGS.index(key)] + args[key] = unicode(l[self.ARGS.index(key)]).encode(self.browser.ENCODING) return url, args