patreon: Income2017Importer grabs email address.

This commit is contained in:
Brett Smith 2021-03-18 11:44:24 -04:00
parent 1e24bfe304
commit c714b2f41f
3 changed files with 4 additions and 1 deletions

View file

@ -150,6 +150,7 @@ class Income2017Importer(_csv.CSVImporterBase):
'Status', 'Status',
]) ])
COPIED_FIELDS = { COPIED_FIELDS = {
'Email': 'email',
'Pledge': 'amount', 'Pledge': 'amount',
} }
ENTRY_SEED = { ENTRY_SEED = {

View file

@ -30,7 +30,7 @@ REQUIREMENTS['tests_require'] = [
setup( setup(
name='import2ledger', name='import2ledger',
description="Import different sources of financial data to Ledger", description="Import different sources of financial data to Ledger",
version='1.4.2', version='1.4.3',
author='Brett Smith', author='Brett Smith',
author_email='brettcsmith@brettcsmith.org', author_email='brettcsmith@brettcsmith.org',
license='GNU AGPLv3+', license='GNU AGPLv3+',

View file

@ -5,10 +5,12 @@
date: !!python/object/apply:datetime.date [2017, 9, 1] date: !!python/object/apply:datetime.date [2017, 9, 1]
amount: !!python/object/apply:decimal.Decimal ["1500.00"] amount: !!python/object/apply:decimal.Decimal ["1500.00"]
currency: USD currency: USD
email: alex@example.org
- payee: Dakota Doe - payee: Dakota Doe
date: !!python/object/apply:datetime.date [2017, 9, 1] date: !!python/object/apply:datetime.date [2017, 9, 1]
amount: !!python/object/apply:decimal.Decimal ["12.00"] amount: !!python/object/apply:decimal.Decimal ["12.00"]
currency: USD currency: USD
email: ddoe@example.org
- source: PatreonPatronReport_2020-08-01.csv - source: PatreonPatronReport_2020-08-01.csv
importer: patreon.Income2020AugustImporter importer: patreon.Income2020AugustImporter