diff --git a/server.py b/server.py index b519137..c0c9764 100644 --- a/server.py +++ b/server.py @@ -21,7 +21,6 @@ config = { emotions = [ e for e in models.Emotion.select().order_by(models.Emotion.name)] - class MainHandler(tornado.web.RequestHandler): def get(self): loader.reset() @@ -73,7 +72,7 @@ class ColourHandler(tornado.web.RequestHandler): if lastGroup != artwork.group.name: imgHtml += "
%s
" % (artwork.group.id, artwork.group.name) lastGroup = artwork.group.name - imgHtml += "" % (artwork.id,artwork.id) + imgHtml += "" % (artwork.id,artwork.id) imgHtml += ""; statHtml = "