mirror of
https://github.com/nikdoof/foursquare-feeds.git
synced 2025-12-13 08:52:23 +00:00
Fix logging error; it outputted the JSON data rather than a count
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user