mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix logging in message shown for too long
This commit is contained in:
parent
b70bf9902b
commit
ea3506b7f6
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
// 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)
|
os.WriteFile(filepath.Join(os.TempDir(), ".crunchy"), []byte(crunchy.SessionID), 0600)
|
||||||
}
|
}
|
||||||
|
out.StopProgress("Logged in")
|
||||||
return
|
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.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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue