From 637d385e7414a1ee323f3adc270ccb0bc648f61c Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Thu, 20 Apr 2023 12:12:18 +0200 Subject: [PATCH] Fix update output on total value --- src/serra/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serra/update.go b/src/serra/update.go index 09dfa36..c621b09 100644 --- a/src/serra/update.go +++ b/src/serra/update.go @@ -129,7 +129,7 @@ var updateCmd = &cobra.Command{ tmpCard := Card{} tmpCard.Prices = t - fmt.Printf("\n%sUpdating total value of collection to: %s%.02f %s%s\n", Green, Yellow, tmpCard.getValue(false), getCurrency(), Reset) + fmt.Printf("\n%sUpdating total value of collection to: %s%.02f %s%s\n", Green, Yellow, tmpCard.getValue(false)+tmpCard.getValue(true), getCurrency(), Reset) totalcoll.storage_add_total(t) return nil