Revert "there are no coming operations with HSBC"
This reverts commit 8b95206d51.
This commit is contained in:
parent
8c3d8c30b8
commit
e9b27dd073
1 changed files with 1 additions and 4 deletions
|
|
@ -80,8 +80,5 @@ class HistoryPage(BasePage):
|
||||||
op = Transaction(m.group(1))
|
op = Transaction(m.group(1))
|
||||||
op.parse(date=m.group(3), raw=re.sub(u'[ ]+', u' ', m.group(4).replace(u'\n', u' ')))
|
op.parse(date=m.group(3), raw=re.sub(u'[ ]+', u' ', m.group(4).replace(u'\n', u' ')))
|
||||||
op.set_amount(m.group(5))
|
op.set_amount(m.group(5))
|
||||||
# XXX As coming operations are already considered by account balance, never mark
|
op._coming = (re.match('\d+/\d+/\d+', m.group(2)) is None)
|
||||||
# them as coming.
|
|
||||||
#op._coming = (re.match('\d+/\d+/\d+', m.group(2)) is None)
|
|
||||||
op._coming = False
|
|
||||||
yield op
|
yield op
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue