We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31fa834 commit d8e47ccCopy full SHA for d8e47cc
main.py
@@ -28,8 +28,9 @@ def main():
28
input_config = config.get("input", {})
29
if input_config.get("mode") == "csv":
30
csv_path = input_config["csv"]["path"]
31
+ # If the path is not absolute, resolve it relative to the root directory
32
if not os.path.isabs(csv_path):
- csv_path = os.path.join(os.getcwd(), csv_path)
33
+ csv_path = os.path.join(root_dir, csv_path)
34
input_config["csv"]["path"] = csv_path
35
note_texts = load_notes(input_config) # This loads the notes based on config (CSV mode)
36
0 commit comments