From 0010291545369c39ece55fee664ba90ceba1b51f Mon Sep 17 00:00:00 2001 From: Miguel BarĂ£o Date: Sun, 11 Mar 2018 18:38:12 +0000 Subject: [PATCH] - removed a lost print --- serve.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/serve.py b/serve.py index 1e81363..3bd436e 100755 --- a/serve.py +++ b/serve.py @@ -10,6 +10,7 @@ import argparse import mimetypes import signal import asyncio +import functools # user installed libraries import tornado.ioloop @@ -249,8 +250,6 @@ class QuestionHandler(BaseHandler): # check answer in another thread (nonblocking) loop = asyncio.get_event_loop() grade = await loop.run_in_executor(None, self.learn.check_answer, user, answer) - - print('grade = ', grade) question = self.learn.get_student_question(user) if grade <= 0.999: # wrong answer @@ -349,7 +348,6 @@ def main(): logging.info('Webserver running... (Ctrl-C to stop)') signal.signal(signal.SIGINT, signal_handler) - try: tornado.ioloop.IOLoop.current().start() # running... except Exception: -- libgit2 0.21.2