mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
fix config import. #405
This commit is contained in:
parent
32f0337037
commit
8fdaa6a674
1 changed files with 2 additions and 2 deletions
|
@ -256,12 +256,12 @@ def initialize(section=None):
|
||||||
SABNZBDHOST = CFG["Nzb"]["sabnzbd_host"]
|
SABNZBDHOST = CFG["Nzb"]["sabnzbd_host"]
|
||||||
SABNZBDPORT = int(CFG["Nzb"]["sabnzbd_port"])
|
SABNZBDPORT = int(CFG["Nzb"]["sabnzbd_port"])
|
||||||
SABNZBDAPIKEY = CFG["Nzb"]["sabnzbd_apikey"]
|
SABNZBDAPIKEY = CFG["Nzb"]["sabnzbd_apikey"]
|
||||||
NZB_DEFAULTDIR = int(CFG["Nzb"]["default_downloadDirectory"])
|
NZB_DEFAULTDIR = CFG["Nzb"]["default_downloadDirectory"]
|
||||||
|
|
||||||
TORRENT_CLIENTAGENT = CFG["Torrent"]["clientAgent"] # utorrent | deluge | transmission | rtorrent | other
|
TORRENT_CLIENTAGENT = CFG["Torrent"]["clientAgent"] # utorrent | deluge | transmission | rtorrent | other
|
||||||
USELINK = CFG["Torrent"]["useLink"] # no | hard | sym
|
USELINK = CFG["Torrent"]["useLink"] # no | hard | sym
|
||||||
OUTPUTDIRECTORY = CFG["Torrent"]["outputDirectory"] # /abs/path/to/complete/
|
OUTPUTDIRECTORY = CFG["Torrent"]["outputDirectory"] # /abs/path/to/complete/
|
||||||
NZB_DEFAULTDIR = int(CFG["Torrent"]["default_downloadDirectory"])
|
TORRENT_DEFAULTDIR = CFG["Torrent"]["default_downloadDirectory"]
|
||||||
CATEGORIES = (CFG["Torrent"]["categories"]) # music,music_videos,pictures,software
|
CATEGORIES = (CFG["Torrent"]["categories"]) # music,music_videos,pictures,software
|
||||||
NOFLATTEN = (CFG["Torrent"]["noFlatten"])
|
NOFLATTEN = (CFG["Torrent"]["noFlatten"])
|
||||||
if isinstance(NOFLATTEN, str): NOFLATTEN = NOFLATTEN.split(',')
|
if isinstance(NOFLATTEN, str): NOFLATTEN = NOFLATTEN.split(',')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue