fix encoding issues

This commit is contained in:
Romain Bignon 2014-01-23 09:17:25 +01:00
commit 945ea4cc15
2 changed files with 4 additions and 4 deletions

View file

@ -41,8 +41,8 @@ class BNPorcBackend(BaseBackend, ICapBank, ICapMessages):
LICENSE = 'AGPLv3+' LICENSE = 'AGPLv3+'
DESCRIPTION = 'BNP Paribas' DESCRIPTION = 'BNP Paribas'
CONFIG = BackendConfig( CONFIG = BackendConfig(
ValueBackendPassword('login', label='Numéro client', masked=False), ValueBackendPassword('login', label=u'Numéro client', masked=False),
ValueBackendPassword('password', label='Code secret', regexp='^(\d{6}|)$'), ValueBackendPassword('password', label=u'Code secret', regexp='^(\d{6}|)$'),
ValueBackendPassword('rotating_password', default='', ValueBackendPassword('rotating_password', default='',
label='Password to set when the allowed uses are exhausted (6 digits)', label='Password to set when the allowed uses are exhausted (6 digits)',
regexp='^(\d{6}|)$'), regexp='^(\d{6}|)$'),

View file

@ -79,8 +79,8 @@ class CragrBackend(BaseBackend, ICapBank):
'm.lefil.com': u'Pyrénées Gascogne', 'm.lefil.com': u'Pyrénées Gascogne',
}.iteritems())]) }.iteritems())])
CONFIG = BackendConfig(Value('website', label=u'Région', choices=website_choices), CONFIG = BackendConfig(Value('website', label=u'Région', choices=website_choices),
ValueBackendPassword('login', label='N° de compte', masked=False), ValueBackendPassword('login', label=u'N° de compte', masked=False),
ValueBackendPassword('password', label='Code personnel')) ValueBackendPassword('password', label=u'Code personnel'))
BROWSER = Cragr BROWSER = Cragr
def create_default_browser(self): def create_default_browser(self):