mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2024-12-29 07:29:40 +00:00
添加完成后自动导出的逻辑,二维码生成后自动打开
This commit is contained in:
parent
646da14b5f
commit
f15070067c
2
main.py
2
main.py
@ -129,6 +129,7 @@ def save_data():
|
|||||||
print('\033[36m' + '图片列表共有 ' + str(len(os.listdir(pic_save_path))) + ' 张图片' + '\033[0m')
|
print('\033[36m' + '图片列表共有 ' + str(len(os.listdir(pic_save_path))) + ' 张图片' + '\033[0m')
|
||||||
current_directory = os.getcwd()
|
current_directory = os.getcwd()
|
||||||
os.startfile(current_directory + user_save_path[1:])
|
os.startfile(current_directory + user_save_path[1:])
|
||||||
|
os.system('pause')
|
||||||
|
|
||||||
|
|
||||||
def bkn(pSkey):
|
def bkn(pSkey):
|
||||||
@ -175,6 +176,7 @@ def QR():
|
|||||||
qr.add_data(obj.data.decode('utf-8'))
|
qr.add_data(obj.data.decode('utf-8'))
|
||||||
# invert=True白底黑块,有些app不识别黑底白块.
|
# invert=True白底黑块,有些app不识别黑底白块.
|
||||||
qr.print_ascii(invert=True)
|
qr.print_ascii(invert=True)
|
||||||
|
im.show()
|
||||||
|
|
||||||
return qrsig
|
return qrsig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user