

@tornado.gen.coroutine
def get(self, key):
    res = (yield motor.Op(self.application.mongodb.pwrecover.find_one, {
        'key': key,
    }))
    if (not res):
        raise tornado.web.HTTPError(404)
    uid = res['_id']
    self.render('recover2.html', key=key)

dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/handlers.py Recover2Handler.get/original