diff --git a/src/sio3pack/packages/sinolpack/model.py b/src/sio3pack/packages/sinolpack/model.py index e605da0..c27d8e9 100644 --- a/src/sio3pack/packages/sinolpack/model.py +++ b/src/sio3pack/packages/sinolpack/model.py @@ -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]]: """