Skip to content

Commit

Permalink
Removed debug logging from Zebra badge
Browse files Browse the repository at this point in the history
  • Loading branch information
thordy committed Mar 28, 2024
1 parent 409e4f8 commit 2fb2d51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions models/badge.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package models

import (
"encoding/json"
"log"
"sort"
"time"

Expand Down Expand Up @@ -617,11 +616,9 @@ func (b BadgeZebra) Validate(leg *Leg) (bool, *int, *int) {

for _, dart := range visit.GetDarts() {
if dart.IsMiss() {
log.Printf("Skipping Missed dart")
continue
}
colors := COLORS[color%2]
log.Printf("Checking if %d is %d in %v", dart.ValueRaw(), color, colors)
if !containsInt(colors, dart.ValueRaw()) {
completed = false
break
Expand Down

0 comments on commit 2fb2d51

Please sign in to comment.