Remove leftover references to JSON config file

master
Thor 3 years ago
parent 08913045b2
commit 5e08f59a10
  1. 3
      cringebot.py

@ -3,7 +3,6 @@ import sys
import time
import sched
from datetime import datetime, timezone, timedelta
import json
import bogofilter
import html2text
from collections import deque
@ -312,8 +311,6 @@ def toot_dict_to_mail(toot_dict):
return bogofilter.Mail(headers = headers, body = body)
bot = Bot(CringeBotClient, toml.load("config.toml"))
#with open("config.json") as json_file:
# bot = Bot(CringeBotClient, json.load(json_file))
bot.start()
while True:

Loading…
Cancel
Save