mirror of
https://github.com/nikdoof/foursquare-feeds.git
synced 2025-12-13 08:52:23 +00:00
Tidy up.
I got a linter.
This commit is contained in:
@@ -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"]]
|
||||
|
||||
Reference in New Issue
Block a user