mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Fixed issue with enabled stataus for sub-sections not being converted to a integer.
Please note default setting is enabled = 0 so if you want to use a sub-section you need to set it to enabled = 1
This commit is contained in:
parent
7d4ccf53cc
commit
761fc7cc04
5 changed files with 5 additions and 5 deletions
|
@ -166,7 +166,7 @@ class autoProcessMovie:
|
|||
return 1 # failure
|
||||
|
||||
# auto-detect correct section
|
||||
section = [x for x in config.issubsection(inputCategory) if config()[x][inputCategory]['enabled'] == 1]
|
||||
section = [x for x in config.issubsection(inputCategory) if int(config()[x][inputCategory]['enabled']) == 1]
|
||||
if len(section) > 1:
|
||||
Logger.error(
|
||||
"MAIN: You can't have multiple sub-sections with the same name enabled, fix your autoProcessMedia.cfg file.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue