Removing unused code.

This commit is contained in:
Roland 2025-03-28 10:26:38 -06:00
parent b998b0b170
commit 6a2969fa33
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@ from wrolpi.common import logger, wrol_mode_check, api_param_limiter
from wrolpi.errors import ValidationError
from wrolpi.events import Events
from wrolpi.schema import JSONErrorResponse
from wrolpi.switches import register_switch_handler
from wrolpi.switches import register_switch_handler, ActivateSwitchMethod
from . import lib, schema
NAME = 'archive'
@ -100,6 +100,9 @@ async def singlefile_upload_switch_handler(singlefile):
download_manager.delete_download(download.id)
singlefile_upload_switch_handler: ActivateSwitchMethod
@archive_bp.post('/upload')
@openapi.definition(
summary='Upload SingleFile from SingleFile browser extension and convert it to an Archive.'

View file

@ -91,7 +91,6 @@ YT_DLP_BIN = which(
)
FFPROBE_BIN = which('ffprobe', '/usr/bin/ffprobe')
FFMPEG_BIN = which('ffmpeg', '/usr/bin/ffmpeg')
JC_BIN = which('jc', '/usr/bin/jc')
@dataclasses.dataclass