Skip to content

Commit

Permalink
Merge pull request liuwons#148 from vivre90/patch-3
Browse files Browse the repository at this point in the history
fix bugs~~~
  • Loading branch information
liuwons authored Oct 27, 2016
2 parents fc32b93 + 29151c4 commit 60b2da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wxbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ def wait4login(self):
self.redirect_uri = redirect_uri
self.base_uri = redirect_uri[:redirect_uri.rfind('/')]
temp_host = self.base_uri[8:]
self.base_host = temp_host[:host2.find("/")]
self.base_host = temp_host[:temp_host.find("/")]
return code
elif code == TIMEOUT:
print '[ERROR] WeChat login timeout. retry in %s secs later...' % (try_later_secs,)
Expand Down

0 comments on commit 60b2da5

Please sign in to comment.