fix startfile() issue.

Changes to be committed:
	modified:   weixin.py
This commit is contained in:
sbilly
2016-02-22 01:44:15 +08:00
parent 16378f27d7
commit dd9908a83c
+1 -1
View File
@@ -101,7 +101,7 @@ class WebWeixin(object):
return False
def genQRCode(self):
if sys.platform.find('win') >= 0:
if sys.platform.startswith('win'):
self._showQRCodeImg()
else:
self._str2qr('https://login.weixin.qq.com/l/' + self.uuid)