Fixed main.py import error.

parent 11615632
...@@ -12,6 +12,8 @@ urls = ( ...@@ -12,6 +12,8 @@ urls = (
'/math\.py/answer', 'Answer', '/math\.py/answer', 'Answer',
) )
app = web.application(urls, globals(), autoreload=True)
def get_last_line(): def get_last_line():
data = web.input(data='').data data = web.input(data='').data
...@@ -139,5 +141,4 @@ class validate(object): ...@@ -139,5 +141,4 @@ class validate(object):
if __name__ == "__main__": if __name__ == "__main__":
app = web.application(urls, globals(), autoreload=True)
app.run() app.run()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment