def get(self): params = self.check_login('legislators') if 'loggedin_user' not in params: self.redirect('/signup') else: legs = getAllLegislators() for l in legs: addLegislatorToParse(l['leg_id'])
def get(self): params=self.check_login('legislators') if 'loggedin_user' not in params: self.redirect('/signup') else: legs=getAllLegislators() for l in legs: addLegislatorToParse(l['leg_id'])
def get(self, leg_id): addLegislatorToParse(leg_id) self.redirect('/parse/legislators')
def get(self,leg_id): addLegislatorToParse(leg_id) self.redirect('/parse/legislators')