Skip to content
Snippets Groups Projects
Commit 14dd6773 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Set state to INIT only on successful exec of helper funcs

parent 0a4560be
No related branches found
No related tags found
1 merge request!12Adjustments and fixes for attribute_wrapper merge
...@@ -80,11 +80,9 @@ class hardware_device(Device): ...@@ -80,11 +80,9 @@ class hardware_device(Device):
:return:None :return:None
""" """
self.set_state(DevState.INIT)
self.setup_value_dict() self.setup_value_dict()
self.initialise() self.initialise()
self.set_state(DevState.INIT)
@only_in_states([DevState.INIT]) @only_in_states([DevState.INIT])
def Standby(self): def Standby(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment