Commit 4d75a024 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Pass max_id and since_id into ResultSet constructor.

parent b3a9cc06
......@@ -245,9 +245,8 @@ class SearchResult(Model):
@classmethod
def parse_list(cls, api, json_list, result_set=None):
results = ResultSet()
results.max_id = json_list.get('max_id')
results.since_id = json_list.get('since_id')
results = ResultSet(json_list.get('max_id',
json_list.get('since_id')))
results.refresh_url = json_list.get('refresh_url')
results.next_page = json_list.get('next_page')
results.results_per_page = json_list.get('results_per_page')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment