diff --git a/cmds/gen.nim b/cmds/gen.nim index a5408a2..68ed5b9 100644 --- a/cmds/gen.nim +++ b/cmds/gen.nim @@ -53,7 +53,7 @@ proc gen*(root: string, args: seq[string]) = quit getCurrentExceptionMsg() var - clienturl = parseURI "otpauth://totp/" / name / "?secret=" & encode res + clienturl = parseURI "otpauth://totp/" / name & "?secret=" & encode res discard execShellCmd "qrencode -t ansiutf8 '" & $clienturl & "'"