Skip to content

Commit

Permalink
Fix missing id in response of run API
Browse files Browse the repository at this point in the history
  • Loading branch information
picard-remi committed Feb 2, 2024
1 parent 05a0155 commit c3ee42e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RobotFrameworkService/routers/robotframework.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async def run_robot_and_wait(executor: Executor, func, args):
# run robot concurrently and wait for it.
loop = asyncio.get_event_loop()
result: int = await loop.run_in_executor(executor, func, *args)
id = args[0]
if result == 0:
result_page = "PASS"
result_page += f'<p><a href="/logs/{id}/log.html">Go to log</a></p>'
Expand Down

0 comments on commit c3ee42e

Please sign in to comment.