Webapp1

Well son of a bitch……how were you running the tests
On Jun 26, 2014, at 7:51 AM, Perry Hook <notifications@github.com> wrote:

> In db_methods.py:
> 
> > @@ -59,7 +59,7 @@ def get_results(school_name, number_to_return):
> >      school_type = cur.fetchone()
> >      cur.execute(DB_GET_SCHOOLS_BY_TYPE, [school_type])
> >      search_schools = cur.fetchall()
> > -    return_schools = find_schools(school_id, search_schools, number_to_return)
> > +    return_schools = find_schools(school_id[0], search_schools, number_to_return)
> that's weird, when I run my test for that error on redmond high's id, 3528, on the whole list I don't get an error. So that means that either the list of schools being searched on doesn't have that ID (is the list you're searching on High Schools?) or the ID we're getting to search on is incorrect?
> 
> —
> Reply to this email directly or view it on GitHub.
>