From 15257c71f27b8815c23e48ca6c46fc88664c3869 Mon Sep 17 00:00:00 2001 From: Ethan Marshall Date: Fri, 9 Aug 2024 23:11:22 +0100 Subject: [PATCH] Fix bad cache.db serialization with multiple entries Forgot the newline! --- data/cache-db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/cache-db.go b/data/cache-db.go index 29f5031..da403ac 100644 --- a/data/cache-db.go +++ b/data/cache-db.go @@ -154,7 +154,7 @@ func (c *CacheDB) Save() error { } sts := strconv.FormatInt(ts, 10) - f.WriteString(url + " " + sts) + f.WriteString(url + " " + sts + "\n") } return nil