Skip to content

Commit

Permalink
issue #74, os path join
Browse files Browse the repository at this point in the history
  • Loading branch information
JolanThomassin committed Apr 25, 2024
1 parent ac95495 commit 8cd88de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ailab/db/finesse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def load_json_template(filename, json_path=DEFAULT_JSON_PATH):
Returns:
str: A JSON-formatted string representing the loaded data.
"""
json_file_path = json_path + "/" + filename + ".json"
json_file_path = os.path.join(json_path, filename + ".json")

with open(json_file_path, "r") as file:
data = json.load(file) # Load the JSON data as a Python dictionary
Expand Down

0 comments on commit 8cd88de

Please sign in to comment.