Subversion Repositories navi

Compare Revisions

Ignore whitespace Rev 34 → Rev 35

/webapp/main.py
56,7 → 56,7
current = re.sub(ur" or.*","",current)
current = re.sub(ur"z(.*)engk(.*)e",ur"z\1enk\2e",current)
current = re.sub(ur"t(.*)ì(m|n)\ ",ur"t\1ìng ",current)
current = current.split(ur"$CDOT$")
current = current.split(ur"$cdot$")
if len(current) == 3:
current = current[0] + u"<0><1>" + current[1] + u"<2>" + current[2]
elif len(current) == 2:
71,7 → 71,7
class TestDB(tornado.web.RequestHandler):
def get(self):
lis = getwords()
text = u"<br />".join([u"\t".join(unicode(x)) for x in lis])
text = u"<br />".join(u"\t".join(unicode(x)) for x in lis)
self.write(text)
 
application = tornado.web.Application([