From 89892bb2d103f90829fc9974e47b24c0a36c69d5 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sun, 4 Feb 2024 19:40:22 -0500 Subject: [PATCH] fix bug in qrForAcc() --- botcli/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botcli/cmd.go b/botcli/cmd.go index a95483e..f04d63f 100644 --- a/botcli/cmd.go +++ b/botcli/cmd.go @@ -238,7 +238,7 @@ func qrForAcc(cli *BotCli, bot *deltachat.Bot, cmd *cobra.Command, args []string invert, _ := cmd.Flags().GetBool("invert") printQr(qrdata, invert) fragment := strings.Replace(strings.SplitN(qrdata, ":", 2)[1], "#", "&", 1) - fmt.Println("https://i.delta.chat/#%v", fragment) + fmt.Printf("https://i.delta.chat/#%v\n", fragment) } else { cli.Logger.Error("account not configured") }