diff --git a/posts.py b/posts.py index a23012e8..142ca2d4 100644 --- a/posts.py +++ b/posts.py @@ -2926,10 +2926,13 @@ def createBoxIndexed(recentPostsCache: {}, arrivalDate = \ locateNewsArrival(baseDir, domain, postFilename) if arrivalDate: + print('Arrival: ' + str(arrivalDate)) # how long has elapsed since this post arrived? currDate = datetime.datetime.utcnow() timeDiffMins = \ int((currDate - arrivalDate).total_seconds() / 60) + print('Arrival: mins ' + \ + str(timeDiffMins) + ' ' + str(votingTimeMins)) # has the voting time elapsed? if timeDiffMins > votingTimeMins: # if there a votes file for this post?