mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
remove Global. #1637
This commit is contained in:
parent
10464147a6
commit
8d0c8c0bee
1 changed files with 1 additions and 2 deletions
|
@ -43,11 +43,10 @@ def api_check(r, params, rem_params):
|
|||
|
||||
|
||||
def auto_fork(section, input_category):
|
||||
global core.FORK_SET
|
||||
# auto-detect correct section
|
||||
# config settings
|
||||
if core.FORK_SET: # keep using determined fork for multiple (manual) post-processing
|
||||
logger.info('{section}:{category} fork set to {fork}'.format
|
||||
logger.info('{section}:{category} fork already set to {fork}'.format
|
||||
(section=section, category=input_category, fork=core.FORK_SET[0]))
|
||||
return core.FORK_SET[0], core.FORK_SET[1]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue