Skip to content

Commit

Permalink
Revert "make resources_dir relative path NOT platform-aware, so it wi…
Browse files Browse the repository at this point in the history
…ll always work in Modelica"

This reverts commit 845b190.
  • Loading branch information
vtnate committed Jul 12, 2023
1 parent 845b190 commit f8d4a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geojson_modelica_translator/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def resources_relative_dir(self):
:return: string, relative resource's data path
"""
return f"Resources/Data/{self.name}"
return os.path.join("Resources", "Data", self.name)

@property
def scripts_relative_dir(self, platform='Dymola'):
Expand Down

0 comments on commit f8d4a6a

Please sign in to comment.