gpaulissen / ofxstatement-dutch

Convert statement files from dutch financial institutes like ICSCards or ING into an OFX file.
9 stars 2 forks source link

When there are no money transactions there should be no error message about start/end date/balance. #6

Closed gpaulissen closed 7 months ago

gpaulissen commented 7 months ago

This is the error message while reading a deGiro CSV with just share transactions:

  File ".../ofxstatement-dutch/src/ofxstatement/plugins/nl/degiro.py", line 146, in parse
    stmt.start_date = min(sl.date for sl in stmt.lines)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: min() iterable argument is empty
gpaulissen commented 7 months ago

Release 1.6.0