From de79f6599e4925c349b2f67940d09b614df3c46d Mon Sep 17 00:00:00 2001 From: Red S Date: Mon, 18 Dec 2023 15:00:16 -0800 Subject: [PATCH] fix: cashdrag failed with command line (only worked with fava) - use beancount's convert_position, not fava --- fava_investor/common/libinvestor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fava_investor/common/libinvestor.py b/fava_investor/common/libinvestor.py index 326b499..a96e521 100644 --- a/fava_investor/common/libinvestor.py +++ b/fava_investor/common/libinvestor.py @@ -4,7 +4,7 @@ import decimal from beancount.core.inventory import Inventory from beancount.core import convert # noqa: F401 -from fava.core.conversion import convert_position +from beancount.core.convert import convert_position class Node(object):