Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

bug logout() 始终提示错误 #7

Closed
lrhehe opened this issue Jan 13, 2012 · 1 comment
Closed

bug logout() 始终提示错误 #7

lrhehe opened this issue Jan 13, 2012 · 1 comment

Comments

@lrhehe
Copy link

lrhehe commented Jan 13, 2012

del = logout = lambda self:self.open('im/index/logoutsubmit.action')

def open(self,url,data=''):
html = self.opener.open(Request('http://f.10086.cn/%s' % url,urlencode(data))).read()
if '登录' in html and '您正在登录中国移动WAP飞信' not in html: raise FetionNotLogin()
return html

退出试用的open和登录的一样。。。
logout 会 raise FetionNotLogin()

whtsky pushed a commit that referenced this issue Jan 14, 2012
@whtsky
Copy link
Owner

whtsky commented Jan 14, 2012

感谢:)
已修复

@whtsky whtsky closed this as completed Jan 14, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants