mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
parent
8b8fda6102
commit
411e70ba92
1 changed files with 5 additions and 5 deletions
|
@ -93,9 +93,9 @@ class InitSickBeard(object):
|
||||||
_val = cfg.get('fork', 'auto')
|
_val = cfg.get('fork', 'auto')
|
||||||
f1 = replace.get(_val.lower(), _val)
|
f1 = replace.get(_val.lower(), _val)
|
||||||
try:
|
try:
|
||||||
fork = f1, core.FORKS[f1]
|
self.fork = f1, core.FORKS[f1]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
fork = 'auto'
|
self.fork = 'auto'
|
||||||
protocol = 'https://' if self.ssl else 'http://'
|
protocol = 'https://' if self.ssl else 'http://'
|
||||||
|
|
||||||
if self.section == 'NzbDrone':
|
if self.section == 'NzbDrone':
|
||||||
|
@ -115,7 +115,7 @@ class InitSickBeard(object):
|
||||||
'Check your configuration'.format
|
'Check your configuration'.format
|
||||||
(section=self.section, category=self.input_category))
|
(section=self.section, category=self.input_category))
|
||||||
|
|
||||||
fork = ['default', {}]
|
self.fork = ['default', {}]
|
||||||
|
|
||||||
elif self.section == 'SiCKRAGE':
|
elif self.section == 'SiCKRAGE':
|
||||||
logger.info('Attempting to verify {category} fork'.format
|
logger.info('Attempting to verify {category} fork'.format
|
||||||
|
@ -163,9 +163,9 @@ class InitSickBeard(object):
|
||||||
'is_priority': None
|
'is_priority': None
|
||||||
}
|
}
|
||||||
|
|
||||||
fork = ['default', params]
|
self.fork = ['default', params]
|
||||||
|
|
||||||
elif fork == 'auto':
|
elif self.fork == 'auto':
|
||||||
self.detect_fork()
|
self.detect_fork()
|
||||||
|
|
||||||
logger.info('{section}:{category} fork set to {fork}'.format
|
logger.info('{section}:{category} fork set to {fork}'.format
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue