ADD Log new posts for debugging
1 files changed, 3 insertions(+), 0 deletions(-) M feed2maildir/converter.py
M feed2maildir/converter.py +3 -0
@@ 135,6 135,9 @@ Content-Type: text/plain except: # it is naive feedtime = feedtime.replace(tzinfo=dateutil.tz.tzutc()) if not oldtime or oldtime < feedtime: + self.output('Oldtime : {} : Feedtime: {} : Link : {}'.format(oldtime, + feedtime, + post.link)) try: # to append the post the the feed-list new[feedname].append(post) except: # it is the first one, make a new list