From e99a557355b901cbfa73f48ac02092b34c410b94 Mon Sep 17 00:00:00 2001 From: Phil Gyford Date: Sat, 27 Apr 2019 16:17:55 +0100 Subject: [PATCH] Tidy up. I got a linter. --- generate_feeds.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/generate_feeds.py b/generate_feeds.py index 3943632..c51a383 100755 --- a/generate_feeds.py +++ b/generate_feeds.py @@ -2,9 +2,7 @@ import configparser import logging import os -import sys -import arrow import foursquare from ics import Calendar, Event @@ -91,7 +89,8 @@ class FeedGenerator: e.uid = "{}@foursquare.com".format(checkin["id"]) e.begin = checkin["createdAt"] - # Use the 'shout', if any, and the timezone offset in the description. + # Use the 'shout', if any, and the timezone offset in the + # description. description = [] if "shout" in checkin and len(checkin["shout"]) > 0: description = [checkin["shout"]]