Fixed verbose logging condition

This commit is contained in:
2025-03-13 22:52:01 +00:00
parent 29bdaf069e
commit 3c72abd3be
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ const (
var waitTime int
var isVerbose bool
var maxTime int
var logFile string
func main() {
//* Parse the flags
+1 -1
View File
@@ -310,7 +310,7 @@ func marcarPresenca(ctx context.Context) error {
chromedp.WaitVisible(menuPresencas))
if err == nil {
if isVerbose {
if isVerbose && logFile == "" {
log.Println("Navigation menu is visible!")
}
}