Skip to content

Commit

Permalink
Removed fmt.print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
GobiasSomeCoffeeCo committed Sep 19, 2024
1 parent 285d1fd commit 9fbd7ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kismet.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func hopChannel(uuid string) error {
return fmt.Errorf("failed to unlock channel: %s", string(body))
}

fmt.Println("Channel unlock successful.")
//fmt.Println("Channel unlock successful.")

return nil

Expand Down Expand Up @@ -281,7 +281,7 @@ func lockChannel(uuid, channel string) error {
return fmt.Errorf("failed to lock channel: %s", string(body))
}

fmt.Println("Channel locked successfully.")
//fmt.Println("Channel locked successfully.")

return nil
}
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (m *model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.lastReceived = time.Now()

if !m.channelLocked {
fmt.Printf("Locking MAC %s on channel %s\n", m.lockedMac, newChannel)
m.realTimeOutput = fmt.Sprintf("Locking MAC %s on channel %s\n", m.lockedMac, newChannel)

if err := lockChannel(uuid, newChannel); err != nil {
fmt.Println("Failed to lock channel:", err)
Expand Down

0 comments on commit 9fbd7ba

Please sign in to comment.