Skip to content

Commit

Permalink
Removed not needed code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex D. Zharichenko authored Feb 10, 2017
1 parent a34b05d commit 36507da
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 36507da

Please sign in to comment.