Compare commits
1 Commits
01086e3c22
...
dfb41a7bac
Author | SHA1 | Date | |
---|---|---|---|
dfb41a7bac |
@ -50,7 +50,7 @@ func ShowCmd(args CmdArgs) (int, error) {
|
||||
fmt.Printf(" location:%s\n", l.Location.Name)
|
||||
fmt.Printf(" Last Seen: %s (%.1fs ago)\n", l.LastSeen, l.SecondsLastSeen)
|
||||
|
||||
if i < len(lights)-1 {
|
||||
if i+1 < len(lights) {
|
||||
fmt.Println()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user