aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/read_file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/read_file.py b/utils/read_file.py
index 1906fc7..ee8f06d 100644
--- a/utils/read_file.py
+++ b/utils/read_file.py
@@ -87,7 +87,7 @@ def read_ledger(path: str):
if line.startswith('!include'):
file_path = line.split()[-1]
base_dir = os.path.dirname(current_file)
- files_to_read.append(
+ files_to_read.insert(0,
os.path.join(base_dir, file_path)
)