tools: make an infinite loop more obvious in the code

Nothing sets "stop", so we might as well make it a while True

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-09-04 13:50:37 +10:00
parent 73849515ef
commit 93e91536db

View file

@ -157,8 +157,7 @@ def loop(args, recording):
d['__uinput'] = uinput # cheaper to hide it in the dict then work around it
d['__index'] = idx
stop = False
while not stop:
while True:
input('Hit enter to start replaying')
processes = []