From 5e08f59a10313c38360e708dae728816fe174e6a Mon Sep 17 00:00:00 2001 From: Thor Harald Johansen Date: Sat, 17 Jul 2021 15:49:12 +0200 Subject: [PATCH] Remove leftover references to JSON config file --- cringebot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/cringebot.py b/cringebot.py index 48654fd..f743ffd 100644 --- a/cringebot.py +++ b/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: