diff src/ofxstatement/plugins/us_hsbc/transactions.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
line wrap: on
line diff
--- 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)