Commit ac9aab54 authored by Tenma's avatar Tenma Committed by Romain Bignon

[oney][banqueaccord] py3 port

oney:
- changed ur-regexes to r-regexes + unicode_literals
parent d08083bf
...@@ -37,9 +37,9 @@ from weboob.exceptions import BrowserIncorrectPassword ...@@ -37,9 +37,9 @@ from weboob.exceptions import BrowserIncorrectPassword
class Transaction(FrenchTransaction): class Transaction(FrenchTransaction):
PATTERNS = [(re.compile(ur'^(?P<text>Retrait .*?) - traité le \d+/\d+$'), FrenchTransaction.TYPE_WITHDRAWAL), PATTERNS = [(re.compile(r'^(?P<text>Retrait .*?) - traité le \d+/\d+$'), FrenchTransaction.TYPE_WITHDRAWAL),
(re.compile(ur'^(?P<text>Prélèvement .*?) - traité le \d+/\d+$'), FrenchTransaction.TYPE_ORDER), (re.compile(r'^(?P<text>Prélèvement .*?) - traité le \d+/\d+$'), FrenchTransaction.TYPE_ORDER),
(re.compile(ur'^(?P<text>.*?) - traité le \d+/\d+$'), FrenchTransaction.TYPE_CARD)] (re.compile(r'^(?P<text>.*?) - traité le \d+/\d+$'), FrenchTransaction.TYPE_CARD)]
class VirtKeyboard(MappedVirtKeyboard): class VirtKeyboard(MappedVirtKeyboard):
......
...@@ -14,6 +14,7 @@ apec ...@@ -14,6 +14,7 @@ apec
arte arte
axabanque axabanque
bandcamp bandcamp
banqueaccord
banquepopulaire banquepopulaire
barclays barclays
becm becm
...@@ -94,6 +95,7 @@ myfoncia ...@@ -94,6 +95,7 @@ myfoncia
n26 n26
nectarine nectarine
nova nova
oney
opensubtitles opensubtitles
ouifm ouifm
pap pap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment