Skip to content

Commit

Permalink
Fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff128 committed Dec 12, 2024
1 parent 6301da4 commit 86db194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sio3pack/packages/sinolpack/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def get_model_solution_regex(self):
Returns the regex used to determine model solutions.
"""
extensions = self.get_submittable_extensions()
return rf"^{self.short_name}[0-9]*([bs]?)[0-9]*(_.*)?\.({" | ".join(extensions)})"
return rf"^{self.short_name}[0-9]*([bs]?)[0-9]*(_.*)?\.({'|'.join(extensions)})"

def _get_model_solutions(self) -> list[tuple[ModelSolutionKind, LocalFile]]:
"""
Expand Down

0 comments on commit 86db194

Please sign in to comment.