From 16a65df664cbcc7bef1fe1204e34256f06929890 Mon Sep 17 00:00:00 2001 From: Hazel Noack Date: Wed, 16 Jul 2025 12:37:58 +0200 Subject: [PATCH] rewrote ftm to log --- internal/rendering/config.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/internal/rendering/config.go b/internal/rendering/config.go index d1c4471..bd9f6f2 100644 --- a/internal/rendering/config.go +++ b/internal/rendering/config.go @@ -2,7 +2,7 @@ package rendering import ( "errors" - "fmt" + "log" "os" "path/filepath" @@ -128,7 +128,7 @@ func (rc *Config) LoadConfigFile(file string) error { return err } - fmt.Println("loading config file: " + file) + log.Println("loading config file", file) content, err := os.ReadFile(file) @@ -140,12 +140,10 @@ func (rc *Config) LoadConfigFile(file string) error { } func (c *Config) Init() error { - fmt.Print("downloading website icons") + log.Println("downloading website icons...") for i := range c.Template.Websites { - fmt.Print(".") c.Template.Websites[i].Cache() } - fmt.Print("\n") return nil }