diff --git a/main.go b/main.go index a36d65d..0f7e6d2 100644 --- a/main.go +++ b/main.go @@ -102,7 +102,6 @@ func main() { currentStats := []SessionStat{ {Label: "Uploaded bytes", Value: fmt.Sprintf("%s", byteCountIEC(stats.CurrentStats.UploadedBytes))}, {Label: "Downloaded bytes", Value: fmt.Sprintf("%s", byteCountIEC(stats.CurrentStats.DownloadedBytes))}, - {Label: "Uploaded/Downloaded ratio", Value: fmt.Sprintf("%d", stats.CurrentStats.UploadedBytes/stats.CurrentStats.DownloadedBytes)}, {Label: "Files added", Value: fmt.Sprintf("%d", stats.CurrentStats.FilesAdded)}, {Label: "Session count", Value: fmt.Sprintf("%d", stats.CurrentStats.SessionCount)}, {Label: "Time active", Value: convertTime(stats.CurrentStats.SecondsActive)}, @@ -111,7 +110,6 @@ func main() { cumulativeStats := []SessionStat{ {Label: "Uploaded bytes", Value: fmt.Sprintf("%s", byteCountIEC(stats.CumulativeStats.UploadedBytes))}, {Label: "Downloaded bytes", Value: fmt.Sprintf("%s", byteCountIEC(stats.CumulativeStats.DownloadedBytes))}, - {Label: "Uploaded/Downloaded ratio", Value: fmt.Sprintf("%d", stats.CumulativeStats.UploadedBytes/stats.CumulativeStats.DownloadedBytes)}, {Label: "Files added", Value: fmt.Sprintf("%d", stats.CumulativeStats.FilesAdded)}, {Label: "Session count", Value: fmt.Sprintf("%d", stats.CumulativeStats.SessionCount)}, {Label: "Time active", Value: convertTime(stats.CumulativeStats.SecondsActive)},