Mercurial > louis > ofxstatement-us-hsbc
comparison src/ofxstatement/plugins/us_hsbc/plugin.py @ 8:164da24a2997
Minor adjustments
Made those changes a couple weeks ago, can't exactly remember why :s.
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Thu, 01 Dec 2016 17:14:11 -0800 |
parents | 829eb62755b0 |
children | 28548158a325 |
comparison
equal
deleted
inserted
replaced
7:829eb62755b0 | 8:164da24a2997 |
---|---|
93 | 93 |
94 if record.simple_description.upper() == "TRANSFER": | 94 if record.simple_description.upper() == "TRANSFER": |
95 return "XFER" | 95 return "XFER" |
96 | 96 |
97 logger.info( | 97 logger.info( |
98 "The transaction type for the following couldn't be determined and " | 98 "The transaction type for the following record couldn't be " |
99 "will default to OTHER: {}".format(record) | 99 "determined and will default to OTHER: {}".format(record) |
100 ) | 100 ) |
101 | 101 |
102 return "OTHER" | 102 return "OTHER" |
103 | 103 |
104 def parse_record(self, row: List[str]) -> StatementLine: | 104 def parse_record(self, row: List[str]) -> StatementLine: |