ADD Feedname to log line
1 files changed, 5 insertions(+), 3 deletions(-) M feed2maildir/converter.py
M feed2maildir/converter.py +5 -3
@@ 136,9 136,11 @@ Content-Type: text/plain feedtime = feedtime.replace(tzinfo=dateutil.tz.tzutc()) if not oldtime or oldtime < feedtime: feedup = max(feedup, feedtime) - self.output('Oldtime : {} : Feedtime: {} : Link : {}'.format(oldtime, - feedtime, - post.link)) + self.output('Feedname: {} : Oldtime : {} : Feedtime: {} : Link : {}'.format( + feedname, + oldtime, + feedtime, + post.link)) new.setdefault(feedname, []).append(post) newtimes[feedname] = feedup.strftime('%Y-%m-%d %H:%M:%S %Z')