Ticket #343: framework_subsystems_odeviced_idlenotifier.py.diff

File framework_subsystems_odeviced_idlenotifier.py.diff, 491 bytes (added by spaetz, 3 years ago)

patch to framework/subsystems/odeviced/idlenotifier.py

Line 
1115,116c115,118
2<         # then, check whether we _are_ in that state
3<         if state == self.state:
4---
5>         # then, check whether we _are_ in or beyond that state
6>         cur_st_index   = self.states.index( self.state )
7>         allow_st_index = self.states.index( self.previousState( state ) )
8>         if cur_state_index > allow_st_index:
9121c123
10<             self.onState( self.previousState( self.state ) )
11---
12>             self.onState( self.states[allow_st_index] ) )