Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/engine.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-11-26 23:03:38 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-11-26 23:03:38 (GMT)
commitb290d0384ea13319026ddcaeca5d567a2556f0e3 (patch)
tree5ad586b7000d023c8ac0d37f72bb392a6449da2e /tutorius/engine.py
parenta6bdbdecfbe53924dc8e38768aed1d8037be6143 (diff)
LP 448319 : Code review changes 2
Diffstat (limited to 'tutorius/engine.py')
-rw-r--r--tutorius/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorius/engine.py b/tutorius/engine.py
index 46e1152..c882d91 100644
--- a/tutorius/engine.py
+++ b/tutorius/engine.py
@@ -91,7 +91,7 @@ class TutorialRunner(object):
if self._runner_state == RUNNER_STATE_SETUP_ACTIONS or \
self._runner_state == RUNNER_STATE_SETUP_EVENTS:
heappush(self._message_queue, (STOP_MSG_PRIORITY, None))
- else:
+ elif self._runner_state != RUNNER_STATE_IDLE:
self._execute_stop()
def action_installed(self, action_name, address):