mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-06 14:54:57 +01:00
Use print_ascii to make it work in powershell
qr.print_tty() doesn't work on windows, but qr.print_ascii() does. May look a bit less formatted, but can still be scanned
This commit is contained in:
parent
1377f032b9
commit
5dc155f556
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ def save_qr(data, name):
|
|||
def print_qr(data):
|
||||
qr = QRCode()
|
||||
qr.add_data(data)
|
||||
qr.print_tty()
|
||||
qr.print_ascii()
|
||||
|
||||
i = j = 0
|
||||
for line in (line.strip() for line in fileinput.input(args.infile)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue