ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/Reminder/shellmc.py
(Generate patch)

Comparing FreeBSDAdmin/Reminder/shellmc.py (file contents):
Revision 1180 by douglas, 2009-05-19T21:16:13-07:00 vs.
Revision 1184 by douglas, 2009-05-26T02:05:53-07:00

# 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')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines