diff --git a/ledger.cr b/ledger.cr index 3c17aa2..16d736e 100644 --- a/ledger.cr +++ b/ledger.cr @@ -5,7 +5,7 @@ require "xml" # Crystal wrapper module for calling ledger class Ledger - def initialize( binary : String = "ledger", ledger_file : String = ENV[ "LEDGER_FILE" ] ) + def initialize( binary : String = "ledger", ledger_file : String = ENV[ "LEDGER_FILE" ] ||= "/home/cycojesus/org/comptes.ledger" ) @binary = binary @file = ledger_file end