We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c40ee6 commit c71c12eCopy full SHA for c71c12e
src/button.py
@@ -249,5 +249,6 @@ def resetRound():
249
app = make_app()
250
app.listen(8888)
251
tornado.ioloop.IOLoop.current().add_timeout(time.time() + 1, checkButton)
252
- tornado.ioloop.IOLoop.current().add_timeout(time.time() + time_in_round, resetRound)
+ mins_to_half_hr = time.localtime().tm_min
253
+ tornado.ioloop.IOLoop.current().add_timeout(time.time() + time_in_round - mins_to_half_hr, resetRound)
254
tornado.ioloop.IOLoop.current().start()
0 commit comments