Skip to content

Commit

Permalink
Merge branch 'main' into 18-add-github-workflow-for-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaasRostock authored Jan 10, 2024
2 parents 1088ee2 + 62d2506 commit d027193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trafficgen/read_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read_situation_files(situation_folder: Path) -> List[Situation]:
situations: List of desired traffic situations
"""
situations: List[Situation] = []
for file_name in [file for file in os.listdir(situation_folder) if file.endswith(".json")]:
for file_name in sorted([file for file in os.listdir(situation_folder) if file.endswith(".json")]):
file_path = os.path.join(situation_folder, file_name)
with open(file_path, encoding="utf-8") as f:
data = json.load(f)
Expand Down

0 comments on commit d027193

Please sign in to comment.