Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/engine.py
diff options
context:
space:
mode:
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):