Fix heif converter being broken #55

Merged
retoor merged 1 commits from :bugfix/fix-pictures-again into main 2025-06-10 05:40:53 +02:00
2 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,11 @@ import json
import yaml
import asyncio
import subprocess
try:
Review

If i wouldn't use pty, but subprocess.pipe, would it work on windows while for Linux it ain't an option? I mean, does my docker setup work on windows?

If i wouldn't use pty, but subprocess.pipe, would it work on windows while for Linux it ain't an option? I mean, does my docker setup work on windows?
Review

It's a good question, but I assume the docker stuff works if pty could be imported

It's a good question, but I assume the docker stuff works if pty could be imported
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):