Ignore Eventbrite totals row
This commit is contained in:
parent
38d15513be
commit
dca6b10c1a
2 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,10 @@ class SalesImporter(_csv.CSVImporterBase):
|
|||
ENTRY_SEED = {'currency': 'USD'}
|
||||
|
||||
def _read_row(self, row):
|
||||
if row['Order ID'] == 'TOTALS':
|
||||
# Skip summary row
|
||||
return None
|
||||
|
||||
# if row['Payment status'] != 'Eventbrite Completed':
|
||||
if row['Payment status'] == 'Free Order':
|
||||
return None
|
||||
|
|
2
setup.py
2
setup.py
|
@ -30,7 +30,7 @@ REQUIREMENTS['tests_require'] = [
|
|||
setup(
|
||||
name='import2ledger',
|
||||
description="Import different sources of financial data to Ledger",
|
||||
version='1.4.9',
|
||||
version='1.4.10',
|
||||
author='Brett Smith',
|
||||
author_email='brettcsmith@brettcsmith.org',
|
||||
license='GNU AGPLv3+',
|
||||
|
|
Loading…
Add table
Reference in a new issue