master
Thor 3 years ago
parent 464350079c
commit 478514a9e3
  1. 4
      cringebot.py

@ -19,6 +19,7 @@ loaded_config = {
OCR = loaded_config["ocr"]
# TODO: Move OCR support to separate module
if OCR:
from PIL import Image
import pytesseract
@ -152,7 +153,8 @@ class CringeBotClient(BotClient):
target_mail = toot_dict_to_mail(target_status)
target_mail_text = target_mail.format()
# TODO: Move status classification system to separate module for use in other bots
tokens = deque(command.split())
while True:
token = tokens.popleft()

Loading…
Cancel
Save