Minor adjustments

This commit is contained in:
Simon
2018-06-06 14:15:06 -04:00
parent 5fdf35ab56
commit 6cdc4b87d0
2 changed files with 5 additions and 12 deletions

View File

@@ -43,9 +43,9 @@ class RedditBot:
try:
# Double check has_crawled
if not self.has_crawled(reddit_obj.id):
# reddit_obj.reply(comment)
print("Skipping comment " + comment)
reddit_obj.reply(comment)
self.log_crawl(reddit_obj.id)
print("Reply to " + reddit_obj.id)
break
except Exception as e:
print("Waiting 5 minutes: " + str(e))