def profile(userid=None): if userid is None: person = bc.me starred = get_starred_projects(BC) else: person = get_person(BC,userid) starred = get_starred_projects(BC) return render_template('profile.html',bc=bc,person=person,starred=starred)
def get_people(self,idnum=None): if idnum is None: rtn = get_all_people(self.BC_ACCOUNT_NUM) else: rtn = get_person(self.BC_ACCOUNT_NUM,idnum) return rtn