Hi all,

I recently discovered that the version of ledger distributed on Termux for 
Android does not support Python 2 and they do not intend 
<https://github.com/termux/termux-packages/issues/4348> to add support 
until ledger supports Python 3.

Because of this, I decided to try replacing the one Python function I had 
with ledger built-in define statements. It's a little bit of a mess, but 
I'm finding that trying to use the account() function inside a define 
statement causes ledger to exit with "Error: Too few arguments to function."

Attached is a file with a minimal version of what I am trying to 
accomplish. Due to using the account() function, I am using the latest 
master branch version of ledger.

Is this a bug, or am I doing something wrong?

Michael Bryant

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/180d4738-b396-44b7-8b4e-c06d0b1067b8%40googlegroups.com.

Attachment: example.ledger
Description: Binary data

Reply via email to