Skip to content

Commit

Permalink
Merge pull request Urinx#24 from sbilly/master
Browse files Browse the repository at this point in the history
统一缩进的代码风格
  • Loading branch information
sbilly committed Feb 24, 2016
2 parents d866965 + 6dd4b42 commit b13b67e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions weixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,16 +650,16 @@ def sendMsgToAll(self, word):
@catchKeyboardInterrupt
def start(self):
self._echo('[*] 微信网页版 ... 开动'); print; logging.debug('[*] 微信网页版 ... 开动')
while True:
self._run('[*] 正在获取 uuid ... ', self.getUUID)
self._echo('[*] 正在获取二维码 ... 成功'); print; logging.debug('[*] 微信网页版 ... 开动'); self.genQRCode()
print '[*] 请使用微信扫描二维码以登录 ... '
if not self.waitForLogin():
continue
print '[*] 请在手机上点击确认以登录 ... '
if not self.waitForLogin(0):
continue
break
while True:
self._run('[*] 正在获取 uuid ... ', self.getUUID)
self._echo('[*] 正在获取二维码 ... 成功'); print; logging.debug('[*] 微信网页版 ... 开动'); self.genQRCode()
print '[*] 请使用微信扫描二维码以登录 ... '
if not self.waitForLogin():
continue
print '[*] 请在手机上点击确认以登录 ... '
if not self.waitForLogin(0):
continue
break

self._run('[*] 正在登录 ... ', self.login)
self._run('[*] 微信初始化 ... ', self.webwxinit)
Expand Down

0 comments on commit b13b67e

Please sign in to comment.