mirror of
https://github.com/token2/Migration-Toolset.git
synced 2026-06-22 14:42:21 -07:00
Merge pull request #5 from tvhdev/unique_account_names
make account names unique
This commit is contained in:
@@ -153,7 +153,7 @@ for line in (line.strip() for line in otpauth_list):
|
||||
if args.htmlfile:
|
||||
with open(args.htmlfile, 'a') as f2:
|
||||
# Create html file with seed info in QR format
|
||||
keyURI = "otpauth://totp/"+otp.name+"?secret="+secret # +"?issuer="+otp.issuer
|
||||
keyURI = "otpauth://totp/"+str(line_count+j)+(otp.issuer if otp.issuer else otp.name)+"?secret="+secret # +"?issuer="+otp.issuer
|
||||
# Generate QR code image
|
||||
from qrcode import QRCode
|
||||
import qrcode.image.svg
|
||||
|
||||
Reference in New Issue
Block a user