Changed from mime to extension for graph and added script to clear invalid websites

This commit is contained in:
Simon
2018-05-31 10:51:59 -04:00
parent 819e2fbddb
commit bb872a9248
6 changed files with 33 additions and 11 deletions

View File

@@ -57,6 +57,7 @@ class TaskManager:
print("Imported in SQLite3")
if post_id:
# TODO check should_comment()
stats = self.db.get_website_stats(website.id)
comment = self.reddit_bot.get_comment(stats, website.id)
print(comment)