mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
fix multiple typos #230
This commit is contained in:
parent
18d10d28a6
commit
ee6d6e62de
3 changed files with 26 additions and 26 deletions
|
@ -30,18 +30,18 @@ def process(dirName, nzbName=None, status=0, inputCategory=None):
|
|||
if inputCategory != None and config.has_section(inputCategory):
|
||||
section = inputCategory
|
||||
|
||||
host = config.get(section., "host")
|
||||
port = config.get(section., "port")
|
||||
apikey = config.get(section., "apikey")
|
||||
delay = float(config.get(section., "delay"))
|
||||
host = config.get(section, "host")
|
||||
port = config.get(section, "port")
|
||||
apikey = config.get(section, "apikey")
|
||||
delay = float(config.get(section, "delay"))
|
||||
|
||||
try:
|
||||
ssl = int(config.get(section., "ssl"))
|
||||
ssl = int(config.get(section, "ssl"))
|
||||
except (ConfigParser.NoOptionError, ValueError):
|
||||
ssl = 0
|
||||
|
||||
try:
|
||||
web_root = config.get(section., "web_root")
|
||||
web_root = config.get(section, "web_root")
|
||||
except ConfigParser.NoOptionError:
|
||||
web_root = ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue