Skip to content

Commit

Permalink
fix: #85, balance dates were returning function instead of date
Browse files Browse the repository at this point in the history
  • Loading branch information
redstreet committed Oct 23, 2023
1 parent d63ff51 commit f504237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beancount_reds_importers/importers/stanchart/scbbank.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def prepare_raw_file(self, rdr):

def get_balance_statement(self, file=None):
"""Return the balance on the first and last dates"""
date = self.get_balance_assertion_date
date = self.get_balance_assertion_date()
if date:
rdr = self.read_raw(file)
rdr = self.prepare_raw_file(rdr)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def prepare_raw_file(self, rdr):

def get_balance_statement(self, file=None):
"""Return the balance on the first and last dates"""
date = self.get_balance_assertion_date
date = self.get_balance_assertion_date()
if date:
balance_row = self.get_row_by_label(file, 'Statement Balance:')
units, currency = balance_row[1], balance_row[2]
Expand Down

0 comments on commit f504237

Please sign in to comment.