summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 30a54b3b..74ef9c64 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -92,7 +92,7 @@ int main(int argc, char * argv[], char * envp[])
if (global_scope->HANDLED(script_)) {
// Ledger is being invoked as a script command interpreter
- global_scope->read_journal_files();
+ global_scope->session().read_journal_files();
status = 0;
@@ -115,7 +115,7 @@ int main(int argc, char * argv[], char * envp[])
// Commence the REPL by displaying the current Ledger version
global_scope->show_version_info(std::cout);
- global_scope->read_journal_files();
+ global_scope->session().read_journal_files();
bool exit_loop = false;