From 8659aba4300e187bb403194d16273f3fdecf6bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Sat, 2 Mar 2019 00:25:24 +0100 Subject: [PATCH] fixed log output of total file size --- internal/pkg/piwigo/picture/upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/piwigo/picture/upload.go b/internal/pkg/piwigo/picture/upload.go index 296aa52..3afdaec 100644 --- a/internal/pkg/piwigo/picture/upload.go +++ b/internal/pkg/piwigo/picture/upload.go @@ -25,7 +25,7 @@ func UploadImage(context *piwigo.PiwigoContext, filePath string, md5sum string, } fileSizeInKB := fileInfo.Size() / 1024 - logrus.Infof("Uploading %s using chunksize of %d KB and total size of %d", filePath, context.ChunkSizeInKB, fileSizeInKB) + logrus.Infof("Uploading %s using chunksize of %d KB and total size of %d KB", filePath, context.ChunkSizeInKB, fileSizeInKB) err = uploadImageChunks(filePath, context, fileSizeInKB, md5sum) if err != nil {