Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save QR.png anyway #658

Merged
merged 1 commit into from
May 26, 2018
Merged

Save QR.png anyway #658

merged 1 commit into from
May 26, 2018

Conversation

mymusise
Copy link
Contributor

  • 修改
    发现在获取二维码的时候,如果enableCmdQR=True,也就是直接从终端打印出来的话,不会把二维码保存到本地。我修改了下不管是不是在终端打印,都先写到picDir
  • 场景
    需要接入机器人的时候,可以随时接入
  • 原因
    修改前:首先在服务器上跑的时候,调用GUI不太方便,如果是用enableCmdQR形式,需要每次都连上服务器去扫。
    修改后:可以把picDir写到某个web服务的静态文件里,通过web可以直接访问扫码了。

或者我这种场景有更好的解决办法?祝好。

@chyroc
Copy link
Collaborator

chyroc commented May 26, 2018

LGTM

@chyroc chyroc merged commit 1306749 into littlecodersh:master May 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants