Skip to content

Commit

Permalink
Replace with an actual Path
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Jan 7, 2025
1 parent 96a35a5 commit 7d5f06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/simulationtests/python_plugin_search_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def on_end_of_zone_timestep_before_zone_reporting(self, state) -> int:
python_plugin_search_paths.setAddCurrentWorkingDirectorytoSearchPath(True)
python_plugin_search_paths.setAddInputFileDirectorytoSearchPath(True)
python_plugin_search_paths.setAddepinEnvironmentVariabletoSearchPath(True)
python_plugin_search_paths.addSearchPath(str(Path(__file__).parent))
python_plugin_search_paths.addSearchPath(Path(__file__).parent)

# save the OpenStudio model (.osm)
model.save_openstudio_osm(osm_save_directory=None, osm_name="in.osm")

0 comments on commit 7d5f06e

Please sign in to comment.