def get_characters(self, username):
    self.assert_valid('accounts', username, 'characters')
    return self.db['accounts'][username]['characters']
def get_characters(self, username):
    self.assert_valid('accounts', username, 'characters')
    return self.db['accounts'][username]['characters']