Merge pull request 'Fix heif converter being broken' () from BordedDev/snek:bugfix/fix-pictures-again into main

Reviewed-on: 
This commit is contained in:
retoor 2025-06-10 05:40:52 +02:00
commit 2fc18801a7
2 changed files with 7 additions and 1 deletions
src/snek

View File

@ -3,7 +3,11 @@ import json
import yaml
import asyncio
import subprocess
import pty
try:
import pty
except Exception as ex:
print("You are not able to run a terminal. See error:")
print(ex)
import os
class ComposeFileManager:

View File

@ -7,9 +7,11 @@ from os.path import isfile
import aiofiles
from aiohttp import web
from PIL import Image
from pillow_heif import register_heif_opener
from snek.system.view import BaseView
register_heif_opener()
class ChannelAttachmentView(BaseView):
async def get(self):