diff --git a/core/auto_process/books.py b/core/auto_process/books.py index 510e7c33..6b3ff8b8 100644 --- a/core/auto_process/books.py +++ b/core/auto_process/books.py @@ -13,7 +13,14 @@ from core.utils import ( requests.packages.urllib3.disable_warnings() -def process(section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None): +def process( + section, + dir_name, + input_name=None, + status=0, + client_agent='manual', + input_category=None, +) -> ProcessResult: status = int(status) cfg = dict(core.CFG[section][input_category])