From e3ce273108baeb2124e4541133a7f21dbcc2d3aa Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Mon, 6 Feb 2023 17:14:17 +0100 Subject: [PATCH] Fix foil and etched bug --- src/serra/stats.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serra/stats.go b/src/serra/stats.go index 919fef1..582f57a 100644 --- a/src/serra/stats.go +++ b/src/serra/stats.go @@ -60,8 +60,8 @@ var statsCmd = &cobra.Command{ }) fmt.Printf("\n%sCards %s\n", Green, Reset) fmt.Printf("Total Cards: %s%.0f%s\n", Yellow, stats[0]["count"], Reset) - fmt.Printf("Total Foil Cards: %s%.0f%s\n", Purple, stats[0]["count_foil"], Reset) - fmt.Printf("Total Etched Cards: %s%.0f%s\n", Purple, stats[0]["count_etched"], Reset) + fmt.Printf("Total Foil Cards: %s%d%s\n", Purple, stats[0]["count_foil"], Reset) + fmt.Printf("Total Etched Cards: %s%d%s\n", Purple, stats[0]["count_etched"], Reset) fmt.Printf("Unique Cards: %s%d%s\n", Purple, stats[0]["unique"], Reset) rar, _ := coll.storage_aggregate(mongo.Pipeline{