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
...
 
@@ -150,6 +150,7 @@ class Income2017Importer(_csv.CSVImporterBase):
 
        'Status',
 
    ])
 
    COPIED_FIELDS = {
 
        'Email': 'email',
 
        'Pledge': 'amount',
 
    }
 
    ENTRY_SEED = {
setup.py
Show inline comments
...
 
@@ -30,7 +30,7 @@ REQUIREMENTS['tests_require'] = [
 
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',
 
    license='GNU AGPLv3+',
tests/data/imports.yml
Show inline comments
...
 
@@ -5,10 +5,12 @@
 
      date: !!python/object/apply:datetime.date [2017, 9, 1]
 
      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
 
  importer: patreon.Income2020AugustImporter
0 comments (0 inline, 0 general)