mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Add type-hints for movies.process
This commit is contained in:
parent
32d19114f9
commit
2cdc99b465
1 changed files with 10 additions and 2 deletions
|
@ -27,8 +27,16 @@ from core.utils import (
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', download_id='', input_category=None, failure_link=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
status=0,
|
||||||
|
client_agent='manual',
|
||||||
|
download_id='',
|
||||||
|
input_category=None,
|
||||||
|
failure_link=None,
|
||||||
|
) -> ProcessResult:
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
||||||
host = cfg['host']
|
host = cfg['host']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue