Skip to content

Commit

Permalink
Fix array definition
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 8, 2023
1 parent f8e63e7 commit 416cf3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lvmscp/ln2.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async def purge(
check_lockfile()

if check_pressure:
pressures = numpy.array((await get_pressures()).values())
pressures = numpy.array(list((await get_pressures()).values()))
if numpy.any(numpy.isnan(pressures)) or numpy.any(pressures > PRESSURE_LIMIT):
raise RuntimeError(
"One or more cameras have pressures "
Expand Down

0 comments on commit 416cf3f

Please sign in to comment.