Skip to content

Commit

Permalink
Merge pull request #49 from nens/exact-slug-match
Browse files Browse the repository at this point in the history
slug match fix
  • Loading branch information
reinout authored Dec 16, 2024
2 parents 7884a59 + 6a9e10c commit 161aeef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog of fews-3di
3.8 (unreleased)
----------------

- Nothing changed yet.
- Set slug lookup to exact match


3.7 (2024-08-21)
Expand Down
2 changes: 1 addition & 1 deletion fews_3di/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _find_model(self) -> int:
"Searching model based on revision=%s...", self.settings.modelrevision
)
threedimodels_result = self.api.threedimodels_list(
slug__contains=self.settings.modelrevision
slug=self.settings.modelrevision
)
results = threedimodels_result.results
if not results:
Expand Down

0 comments on commit 161aeef

Please sign in to comment.