Image Processing Error, “not enough values to unpack”
问题 The main problem was described by the post earlier. This is a sequel with full code and traceback. I have a certain error while processing photos using the telegram bot. In particular, this is a problem with a change in contrast. Full code: import telebot import os import urllib.request from PIL import Image import numpy as np TOKEN = 'here token is, just cut it out' bot = telebot.TeleBot(TOKEN) result_storage_path = 'temp' @bot.message_handler(commands=['start']) def start_message(message):