Enabled the --reconcile option, since everything it relies on is now
exposed through python.
This commit is contained in:
parent
06c0e4707a
commit
5200ff436c
1 changed files with 13 additions and 14 deletions
27
main.py
27
main.py
|
|
@ -247,20 +247,19 @@ else:
|
||||||
|
|
||||||
handler = CalcTransactions (handler)
|
handler = CalcTransactions (handler)
|
||||||
|
|
||||||
#if config.reconcile_balance:
|
if config.reconcile_balance:
|
||||||
# reconcilable = False
|
reconcilable = False
|
||||||
# if config.reconcile_balance == "<all>"
|
if config.reconcile_balance == "<all>"
|
||||||
# reconcilable = True
|
reconcilable = True
|
||||||
# else
|
else
|
||||||
# target_balance = Value (config.reconcile_balance)
|
target_balance = Value (config.reconcile_balance)
|
||||||
#
|
|
||||||
# cutoff = time.time ()
|
cutoff = time.time ()
|
||||||
# # jww (2005-02-15): needs conversion
|
if config.reconcile_date:
|
||||||
# #if config.reconcile_date:
|
cutoff = parse_date (config.reconcile_date)
|
||||||
# # cutoff = parse_date (config.reconcile_date)
|
|
||||||
#
|
handler = ReconcileTransactions (handler, target_balance,
|
||||||
# handler = ReconcileTransactions (handler, target_balance,
|
cutoff, reconcilable)
|
||||||
# cutoff, reconcilable)
|
|
||||||
|
|
||||||
if config.sort_string:
|
if config.sort_string:
|
||||||
handler = SortTransactions (handler, config.sort_string)
|
handler = SortTransactions (handler, config.sort_string)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue