~martijnbraam/numberstation

b967eb1deb3ca47effaab4b8b27fe277786ce096 — Lorenzo Martinico 2 years ago c38ff62
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)