From ea3506b7f6f7f63676df453b8927a97fcc7bf7b4 Mon Sep 17 00:00:00 2001 From: bytedream Date: Wed, 18 May 2022 11:11:18 +0200 Subject: [PATCH] Fix logging in message shown for too long --- cmd/crunchyroll-go/cmd/utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/crunchyroll-go/cmd/utils.go b/cmd/crunchyroll-go/cmd/utils.go index cafd99d..c799165 100644 --- a/cmd/crunchyroll-go/cmd/utils.go +++ b/cmd/crunchyroll-go/cmd/utils.go @@ -166,6 +166,7 @@ func loadCrunchy() { // it seems like that crunchyroll has also a little cooldown if a user logs in too often in a short time os.WriteFile(filepath.Join(os.TempDir(), ".crunchy"), []byte(crunchy.SessionID), 0600) } + out.StopProgress("Logged in") return } } @@ -183,6 +184,8 @@ func loadCrunchy() { } out.Debug("Logged in with session id %s. BLANK THIS LINE OUT IF YOU'RE ASKED TO POST THE DEBUG OUTPUT SOMEWHERE", body) + + out.StopProgress("Logged in") return }