From 47fda41d3760f80847becc0ea1a85f07cd1ddb83 Mon Sep 17 00:00:00 2001 From: Phil Gyford Date: Thu, 10 Oct 2019 11:43:42 +0100 Subject: [PATCH] Fix logging error; it outputted the JSON data rather than a count --- generate_feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_feeds.py b/generate_feeds.py index a801c32..8e8f58a 100755 --- a/generate_feeds.py +++ b/generate_feeds.py @@ -60,7 +60,7 @@ class FeedGenerator: checkins = self._get_recent_checkins() plural = "" if len(checkins) == 1 else "s" - logger.info("Fetched {} checkin{} from the API".format(checkins, plural)) + logger.info("Fetched {} checkin{} from the API".format(len(checkins), plural)) if kind == "ics": filepath = self._generate_ics_file(checkins)