mirror of
https://github.com/gwenhael-le-moine/credger.git
synced 2024-12-26 09:58:36 +01:00
hardcode fallback ledger file location
This commit is contained in:
parent
b74c36365c
commit
a95134c201
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue