Skip to content

Commit

Permalink
Merge pull request #257 from fsismondi/master
Browse files Browse the repository at this point in the history
state is called <preparing>, lowercase
  • Loading branch information
aleneum committed Sep 28, 2017
2 parents 615a63a + 06a46b1 commit d70eeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -1184,7 +1184,7 @@ transitions = [['done', 'preparing', 'waiting'],
['go', 'waiting', 'away']] # Okay, let' move

hero = SocialSuperhero()
machine = CustomStateMachine(model=hero, states=states, transitions=transitions, initial='Preparing')
machine = CustomStateMachine(model=hero, states=states, transitions=transitions, initial='preparing')
assert hero.state == 'preparing' # Preparing for the night shift
assert machine.get_state(hero.state).is_busy # We are at home and busy
hero.done()
Expand Down

0 comments on commit d70eeaf

Please sign in to comment.