fix regexp of config

This commit is contained in:
Romain Bignon 2010-11-11 01:11:37 +01:00
commit d7fa7ce5ae
2 changed files with 3 additions and 3 deletions

View file

@ -33,9 +33,9 @@ class LCLBackend(BaseBackend, ICapBank):
VERSION = '0.4'
DESCRIPTION = 'Le Credit Lyonnais crappy french bank'
LICENSE = 'GPLv3'
CONFIG = ValuesDict(Value('login', label='Account ID'),
CONFIG = ValuesDict(Value('login', label='Account ID', regexp='^\d{1,6}\w$'),
Value('password', label='Password of account', masked=True),
Value('agency', label='Agency code', regexp='^\d{1,3}$'))
Value('agency', label='Agency code', regexp='^\d{3,4}$'))
BROWSER = LCLBrowser
def create_default_browser(self):