mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-05 20:51:11 -07:00
Fix autofork fallback. #163
This commit is contained in:
parent
77f34261fa
commit
80ef0d094e
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ def auto_fork(section, input_category):
|
|||
else:
|
||||
logger.info('{section}:{category} fork auto-detection failed'.format
|
||||
(section=section, category=input_category))
|
||||
fork = core.FORKS.items()[core.FORKS.keys().index(core.FORK_DEFAULT)]
|
||||
fork = list(core.FORKS.items())[list(core.FORKS.keys()).index(core.FORK_DEFAULT)]
|
||||
|
||||
|
||||
logger.info('{section}:{category} fork set to {fork}'.format
|
||||
(section=section, category=input_category, fork=fork[0]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue