fix startfile() issue.
Changes to be committed: modified: weixin.py
This commit is contained in:
@@ -101,7 +101,7 @@ class WebWeixin(object):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def genQRCode(self):
|
def genQRCode(self):
|
||||||
if sys.platform.find('win') >= 0:
|
if sys.platform.startswith('win'):
|
||||||
self._showQRCodeImg()
|
self._showQRCodeImg()
|
||||||
else:
|
else:
|
||||||
self._str2qr('https://login.weixin.qq.com/l/' + self.uuid)
|
self._str2qr('https://login.weixin.qq.com/l/' + self.uuid)
|
||||||
|
|||||||
Reference in New Issue
Block a user