We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b606a37 commit 21cdbd2Copy full SHA for 21cdbd2
wxbot.py
@@ -73,10 +73,8 @@ def gen_qr_code(self, qr_file_path):
73
if self.conf['qr'] == 'png':
74
qr.png(qr_file_path)
75
elif self.conf['qr'] == 'tty':
76
- print 'Not support tty'
77
- pass
78
- #qr.print_tty()
79
-
+ print(qr.terminal(quiet_zone=1))
+
80
def wait4login(self, tip):
81
time.sleep(tip)
82
url = 'https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?tip=%s&uuid=%s&_=%s' % (tip, self.uuid, int(time.time()))
0 commit comments