# HG changeset patch # User Louis Opter # Date 1480641251 28800 # Node ID 164da24a29977f711cd68951b6444440e51a8a52 # Parent 829eb62755b0f97b3cffb0647fdee8de2c922462 Minor adjustments Made those changes a couple weeks ago, can't exactly remember why :s. diff -r 829eb62755b0 -r 164da24a2997 src/ofxstatement/plugins/us_hsbc/plugin.py --- a/src/ofxstatement/plugins/us_hsbc/plugin.py Thu Nov 17 16:25:12 2016 -0800 +++ b/src/ofxstatement/plugins/us_hsbc/plugin.py Thu Dec 01 17:14:11 2016 -0800 @@ -95,8 +95,8 @@ return "XFER" logger.info( - "The transaction type for the following couldn't be determined and " - "will default to OTHER: {}".format(record) + "The transaction type for the following record couldn't be " + "determined and will default to OTHER: {}".format(record) ) return "OTHER" diff -r 829eb62755b0 -r 164da24a2997 src/ofxstatement/plugins/us_hsbc/transactions.py --- a/src/ofxstatement/plugins/us_hsbc/transactions.py Thu Nov 17 16:25:12 2016 -0800 +++ b/src/ofxstatement/plugins/us_hsbc/transactions.py Thu Dec 01 17:14:11 2016 -0800 @@ -82,4 +82,5 @@ def enrich(sl: StatementLine, record: Record) -> None: + sl.payee = record.simple_description or record.category _TRNTYPE_TO_METHOD.get(sl.trntype, _enrich_generic)(sl, record)