egh / ledger-autosync

Synchronize your ledger-cli files with your bank.
GNU General Public License v3.0
273 stars 42 forks source link

Use fullname() to avoid comparing object to str #5

Closed mrichar1 closed 8 years ago

mrichar1 commented 8 years ago

a in this list comprehension is a ledger.Account object, so the comparison to string exclude will always fail. Use fullname() to get it's full name as string for the comparison.

egh commented 8 years ago

Looks good! Thank you.