From 95a1600f7e5a611ead4cd6a8aaa8fa239b59d776 Mon Sep 17 00:00:00 2001 From: kilo Date: Tue, 31 Oct 2017 01:38:47 +0100 Subject: [PATCH] Update template.go --- templates/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/template.go b/templates/template.go index d164d978..e0b9230d 100644 --- a/templates/template.go +++ b/templates/template.go @@ -176,7 +176,7 @@ func userProfileBase(c *gin.Context, templateName string, userProfile *models.Us var uploadedSize int64 for _, torrent := range userProfile.Torrents { - uploadedSize += 64 + uploadedSize += torrent.Filesize } variables.Set("UserProfile", userProfile)