aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/loop.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index 4f5cdf0..c5111bf 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -122,9 +122,11 @@ class mainThread(Thread):
Thread.__init__(self, name=name)
self.term = False
def run(self):
- while not self.term:
+ if conf.step_by_step:
step()
-
+ else:
+ while not self.term:
+ step()
def loop_term():
global thr