Webapp1

Somethings wrong again.  I merged #16 and now I cannot get it to return any results at all...
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.
>