mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-22 16:06:19 -05:00
Removing unused code.
This commit is contained in:
parent
b998b0b170
commit
6a2969fa33
2 changed files with 4 additions and 2 deletions
|
|
@ -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.'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue