Browse Source

disabled the while loop for now, we will run the script each time a participant starts writing

master
mb@mb 6 years ago
parent
commit
6cf607ba07
  1. 4
      timer.py

4
timer.py

@ -4,8 +4,8 @@ import os
nextturn=['who is next','next','well done','keep going','almost there', 'bonus! bonus! you have another minute', 'what a great edit', "it's like i'm reading The New York Times", 'nice phrasing. next'] nextturn=['who is next','next','well done','keep going','almost there', 'bonus! bonus! you have another minute', 'what a great edit', "it's like i'm reading The New York Times", 'nice phrasing. next']
while True: # while True:
time.sleep(60)
choice=random.choice(nextturn) choice=random.choice(nextturn)
cmd="espeak '{}'".format(choice) cmd="espeak '{}'".format(choice)
os.system(cmd) os.system(cmd)
time.sleep(60)

Loading…
Cancel
Save