Skip to content

Commit

Permalink
fix PEP8 violation argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Feb 18, 2025
1 parent 2f9dba1 commit b086424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blueapi/utils/connect_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _report_successful_devices(


def _establish_device_connections(
RE: RunEngine,
run_engine: RunEngine,
devices: Mapping[str, AnyDevice],
sim_backend: bool,
) -> tuple[Mapping[str, AnyDevice], Mapping[str, Exception]]:
Expand All @@ -45,7 +45,7 @@ def _establish_device_connections(

# Connect ophyd-async devices
try:
RE(ensure_connected(*ophyd_async_devices.values(), mock=sim_backend))
run_engine(ensure_connected(*ophyd_async_devices.values(), mock=sim_backend))
except NotConnected as ex:
exceptions = {**exceptions, **ex.sub_errors}

Expand Down

0 comments on commit b086424

Please sign in to comment.