kshitij10496 / gh-notifier

Desktop notifier for all your "social" GitHub notifications
MIT License
20 stars 10 forks source link

Making sure that the number of pages is an int to resolve the type e… #1

Closed arafatkatze closed 8 years ago

arafatkatze commented 8 years ago

Solve the issue I was experiencing

Traceback (most recent call last):
  File "test.py", line 72, in <module>
    users = search_location("Kharagpur", max_users = 14)
  File "test.py", line 21, in search_location
    return _search_location(soup, max_users, params)
  File "test.py", line 32, in _search_location
    for i in range(1, (number_of_pages)):
TypeError: range() integer end argument expected, got float.
kshitij10496 commented 8 years ago

Refer to #2 for the discussion on the issue.

kshitij10496 commented 8 years ago

This looks cool. It is in !

Thanks @Arafatk :+1: