# | Line 67 | Line 67 | class Bank(website.Website, bank.Bank): | |
---|---|---|
67 | ||
68 | def download(self, account): | |
69 | try: | |
70 | < | balance = -decimal.Decimal(self.Soup(self._follow_link(text_regex = str(account))).find(attrs = {'class': 'curr_balance'}).string[1:]) |
70 | > | balance = -decimal.Decimal(str(self.Soup(self._follow_link(text_regex = str(account))).find(attrs = {'class': 'curr_balance'}).string[1:]).translate(None, ',')) |
71 | ||
72 | self._follow_link(text_regex = 'View/Download Your Statement') | |
73 | self.browser.select_form(name = 'download_statement') |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |