From 2331277fde8807c981de9531b94959ceaecd161e Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 2 Oct 2024 20:04:21 +0300 Subject: [PATCH] FIXUP: Fix the dummy provider --- dangerzone/isolation_provider/dummy.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dangerzone/isolation_provider/dummy.py b/dangerzone/isolation_provider/dummy.py index 7aa1e12e4..872035d33 100644 --- a/dangerzone/isolation_provider/dummy.py +++ b/dangerzone/isolation_provider/dummy.py @@ -1,22 +1,16 @@ import logging -import os -import shutil import subprocess import sys -import time -from typing import Callable, Optional from ..conversion.common import DangerzoneConverter from ..document import Document -from ..util import get_resource_path from .base import IsolationProvider log = logging.getLogger(__name__) def dummy_script() -> None: - sys.stdin.read() - + sys.stdin.buffer.read() pages = 2 width = height = 9 DangerzoneConverter._write_int(pages)