This pull request fixes #4 and possibly resolves #2.
Adds an empty transaction in Beancount's ledger format for the equivalent empty Gnucash transaction. Earlier was raising exception when trying to deal with empty transaction by attempting to carry out a 0/0 invalid operation in the directives.py:price_for() function
Tested while exporting my Gnucash account to Beancount. Passes test.sh.
This pull request fixes #4 and possibly resolves #2.
Adds an empty transaction in Beancount's ledger format for the equivalent empty Gnucash transaction. Earlier was raising exception when trying to deal with empty transaction by attempting to carry out a
0/0
invalid operation in thedirectives.py:price_for()
functionTested while exporting my Gnucash account to Beancount. Passes test.sh.