Skip to content

Commit

Permalink
finally -> else in heartbeat command
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 25, 2024
1 parent ca9eaea commit fa7fdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lvmecp/actor/commands/heartbeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ async def heartbeat(command: ECPCommand):
await command.actor.plc.modbus["hb_set"].set(True)
except Exception:
return command.fail("Failed to set heartbeat.")
finally:
else:
return command.finish()

0 comments on commit fa7fdc2

Please sign in to comment.