Skip to content

Commit

Permalink
Merge pull request #31 from azharichenko/patch-1
Browse files Browse the repository at this point in the history
Fixing issue with people.py
  • Loading branch information
RitwikGupta committed Feb 10, 2017
2 parents a34b05d + 36507da commit 52977fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions PittAPI/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ def _get_person_url(query, max_people):


def get_person(query, max_people=10):
n_cores = multiprocessing.cpu_count()

query = query.replace(' ', '+')
url_list = _get_person_url(query, max_people)
url_list = [item for l_list in url_list for item in l_list] # flatmap
Expand Down

0 comments on commit 52977fd

Please sign in to comment.