rienafairefr / pynYNAB

a python client for the new YNAB
MIT License
138 stars 12 forks source link

csvimport.py: Don't blow up if some categories are empty #8

Closed abesto closed 8 years ago

abesto commented 8 years ago

Use-case: I import tons of transactions from CSV; some of them have categories pre-populated, some don't.

With this change empty categories (ie. CSV rows where the category is the empty string) will not have a category set, same way as if the whole CSV had no category field.