Skip to content

Commit

Permalink
Merge pull request Manishearth#127 from ralphembree/master
Browse files Browse the repository at this point in the history
Fix login bug
  • Loading branch information
Manishearth authored Nov 19, 2016
2 parents 663bae1 + 81a6518 commit d7c84e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatexchange/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _load_user(self, soup):
@staticmethod
def user_id_and_name_from_link(link_soup):
user_name = link_soup.text
user_id = int(link_soup['href'].split('/')[2])
user_id = int(link_soup['href'].split('/')[-2])
return user_id, user_name

def _update_chat_fkey_and_user(self):
Expand Down

0 comments on commit d7c84e9

Please sign in to comment.