Skip to content

Commit b2a95fc

Browse files
committed
precommmit
1 parent 12bd467 commit b2a95fc

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

geojson_modelica_translator/modelica/modelica_runner.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,7 @@ def _subprocess_call_to_docker(
253253
f"{docker_image}",
254254
"/bin/bash",
255255
"-c",
256-
(
257-
'omc "$1.mos" "${@:2}" ; '
258-
"ret=$? ; "
259-
f"{self._docker_post_run_permissions_command()} ; "
260-
"exit $ret"
261-
),
256+
(f'omc "$1.mos" "${{@:2}}" ; ret=$? ; {self._docker_post_run_permissions_command()} ; exit $ret'),
262257
"--",
263258
mo_script,
264259
*compiler_flags_list,

0 commit comments

Comments
 (0)