Commit ae59481eb3805309cd8c5a75878cbc6acdc48719
1 parent
e03f8a26
Exists in
master
and in
1 other branch
fix regression of last commit
Showing
4 changed files
with
6 additions
and
4 deletions
Show diff stats
aprendizations/questions.py
| ... | ... | @@ -327,8 +327,8 @@ class QuestionTextArea(Question): |
| 327 | 327 | |
| 328 | 328 | self.set_defaults(QDict({ |
| 329 | 329 | 'text': '', |
| 330 | - # 'lines': 8, | |
| 331 | - 'timeout': 5, # seconds | |
| 330 | + 'lines': 8, # FIXME unused? | |
| 331 | + 'timeout': 5, # seconds | |
| 332 | 332 | 'correct': '', # trying to execute this will fail => grade 0.0 |
| 333 | 333 | 'args': [] |
| 334 | 334 | })) | ... | ... |
aprendizations/serve.py
| ... | ... | @@ -13,6 +13,7 @@ import ssl |
| 13 | 13 | import sys |
| 14 | 14 | import uuid |
| 15 | 15 | |
| 16 | + | |
| 16 | 17 | # third party libraries |
| 17 | 18 | import tornado.ioloop |
| 18 | 19 | import tornado.httpserver |
| ... | ... | @@ -20,9 +21,9 @@ import tornado.web |
| 20 | 21 | from tornado.escape import to_unicode |
| 21 | 22 | |
| 22 | 23 | # this project |
| 23 | -from . import APP_NAME | |
| 24 | 24 | from .learnapp import LearnApp |
| 25 | 25 | from .tools import load_yaml, md_to_html |
| 26 | +from . import APP_NAME | |
| 26 | 27 | |
| 27 | 28 | |
| 28 | 29 | # ---------------------------------------------------------------------------- | ... | ... |
aprendizations/tools.py