Changeset - ac2359101b9f
[Not reviewed]
0 2 0
Rosanne DiMesio - 3 years ago 2021-07-14 18:19:50
dimesio@earthlink.net
Update brightfunds importer and bump version number
2 files changed with 7 insertions and 2 deletions:
0 comments (0 inline, 0 general)
import2ledger/importers/brightfunds.py
Show inline comments
...
 
@@ -50,13 +50,18 @@ class _BrightFundsMixin:
 
        entry_data['date'] = strparse.date(row[self.DATE_FIELD], self.DATE_FMT)
 
        entry_data['payee'] = payee
 
        return entry_data
 

	
 

	
 
class DonorReportImporter(_BrightFundsMixin, _csv.CSVImporterBase):
 
    pass
 
    BOOK_KWARGS = {'encoding_override': 'utf-8'}
 
    DATE_FMT = '%m/%d/%Y'
 
    DATE_FIELD = 'Created'
 
    DONOR_FIELD = 'Donor Name'
 
    EMAIL_FIELD = 'Donor Email'
 
    TYPE_FIELD = 'Type'
 

	
 

	
 
class DonorReportXLSImporter(_BrightFundsMixin, _xls.XLSImporterBase):
 
    BOOK_KWARGS = {'encoding_override': 'utf-8'}
 
    DATE_FMT = '%m/%d/%Y'
 
    DATE_FIELD = 'Created'
setup.py
Show inline comments
...
 
@@ -27,13 +27,13 @@ REQUIREMENTS['tests_require'] = [
 
    *all_extras_require,
 
]
 

	
 
setup(
 
    name='import2ledger',
 
    description="Import different sources of financial data to Ledger",
 
    version='1.4.3',
 
    version='1.4.4',
 
    author='Brett Smith',
 
    author_email='brettcsmith@brettcsmith.org',
 
    license='GNU AGPLv3+',
 

	
 
    packages=find_packages(include=['import2ledger', 'import2ledger.*']),
 
    entry_points={
0 comments (0 inline, 0 general)