mirror of
https://codeberg.org/hyperreal/go-transmission-stats
synced 2024-11-25 12:13:42 +01:00
Fix: byteCountIEC for Total Size
This commit is contained in:
parent
1025631dce
commit
bcd21d2f73
@ -147,7 +147,7 @@ func main() {
|
||||
torrentInfoDatum := [][]string{
|
||||
{"Name", v.Name},
|
||||
{"Date Added", v.DateAdded.String()},
|
||||
{"Total Size", fmt.Sprintf("%d", int64(v.TotalSize))},
|
||||
{"Total Size", byteCountIEC(int64(v.TotalSize))},
|
||||
{"Peers Connected", fmt.Sprintf("%d", v.PeersConnected)},
|
||||
{"Peers Getting From Us", fmt.Sprintf("%d", v.PeersGettingFromUs)},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user