Fix heif converter being broken #55
@ -3,7 +3,11 @@ import json
|
||||
import yaml
|
||||
import asyncio
|
||||
import subprocess
|
||||
try:
|
||||
|
||||
import pty
|
||||
except Exception as ex:
|
||||
print("You are not able to run a terminal. See error:")
|
||||
print(ex)
|
||||
import os
|
||||
|
||||
class ComposeFileManager:
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user
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?
It's a good question, but I assume the docker stuff works if pty could be imported