Changeset - c714b2f41fd2
[Not reviewed]
0 3 0
Brett Smith - 3 years ago 2021-03-18 15:47:56
brettcsmith@brettcsmith.org
patreon: Income2017Importer grabs email address.
3 files changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
import2ledger/importers/patreon.py
Show inline comments
...
 
@@ -151,4 +151,5 @@ class Income2017Importer(_csv.CSVImporterBase):
 
    ])
 
    COPIED_FIELDS = {
 
        'Email': 'email',
 
        'Pledge': 'amount',
 
    }
setup.py
Show inline comments
...
 
@@ -31,5 +31,5 @@ setup(
 
    name='import2ledger',
 
    description="Import different sources of financial data to Ledger",
 
    version='1.4.2',
 
    version='1.4.3',
 
    author='Brett Smith',
 
    author_email='brettcsmith@brettcsmith.org',
tests/data/imports.yml
Show inline comments
...
 
@@ -6,8 +6,10 @@
 
      amount: !!python/object/apply:decimal.Decimal ["1500.00"]
 
      currency: USD
 
      email: alex@example.org
 
    - payee: Dakota Doe
 
      date: !!python/object/apply:datetime.date [2017, 9, 1]
 
      amount: !!python/object/apply:decimal.Decimal ["12.00"]
 
      currency: USD
 
      email: ddoe@example.org
 

	
 
- source: PatreonPatronReport_2020-08-01.csv
0 comments (0 inline, 0 general)