Allow empty issuer in andotp import
1 files changed, 1 insertions(+), 1 deletions(-) M contrib/andotp.py
M contrib/andotp.py => contrib/andotp.py +1 -1
@@ 10,7 10,7 @@ for item in items: label = quote(item["label"]) secret = item["secret"] url = f"otpauth://totp/{label}?secret={secret}" - if item["issuer"]: + if "issuer" in item: issuer = quote(item["issuer"]) url += f"&issuer={issuer}" print(url)