Skip to content

Commit

Permalink
Merge branch 'python-server' of https://github.com/Safe-DS/Runner int…
Browse files Browse the repository at this point in the history
…o python-server

# Conflicts:
#	src/safeds_runner/server/pipeline_manager.py
  • Loading branch information
WinPlay02 committed Nov 28, 2023
2 parents 33622ff + a1372eb commit 785d2e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/safeds_runner/server/pipeline_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ def _execute(self) -> None:
global current_pipeline # noqa: PLW0603
current_pipeline = self
try:
runpy.run_module(main_module if len(self.modulepath) == 0 else f"{self.modulepath}.{main_module}",
run_name="__main__")
runpy.run_module(
main_module if len(self.modulepath) == 0 else f"{self.modulepath}.{main_module}",
run_name="__main__",
)
self._send_message(message_type_runtime_progress, create_runtime_progress_done())
except BaseException as error: # noqa: BLE001
self._send_exception(error)
Expand Down

0 comments on commit 785d2e2

Please sign in to comment.