diff --git a/run.py b/run.py index 4249841..ce4ed4a 100755 --- a/run.py +++ b/run.py @@ -37,7 +37,7 @@ for row in dc.fetchall(): else: sender = post['senderData']['username'] - if int(post['timestamp']) == int(row['latest_post']): + if int(post['timestamp']) <= int(row['latest_post']): #this is the one we've already seen continue