Permalink
Browse files

bugfix

  • Loading branch information...
1 parent cb2661a commit cebea850a39f37b7378f21a3ce0c392ed6a82903 Binux committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/lixian_api.py
View
2 libs/lixian_api.py
@@ -116,7 +116,7 @@ def _redirect_to_user_task(self):
# from https://github.com/iambus/xunlei-lixian/
def _get_task_list(self, pagenum, st):
- self.session.cookies["pagenum"] = pagenum
+ self.session.cookies["pagenum"] = str(pagenum)
r = self.session.get("%s&st=%s&t=%s" % (self.task_url, st, self._now))
if r.error or r.status_code != 200:
r.raise_for_status()

0 comments on commit cebea85

Please sign in to comment.