mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Refactor passwords file configuration
This commit is contained in:
parent
819cf7b225
commit
e85b92f1db
1 changed files with 7 additions and 2 deletions
|
@ -908,6 +908,12 @@ def configure_transcoder():
|
|||
ACODEC3_ALLOW.extend(extra)
|
||||
|
||||
|
||||
def configure_passwords_file():
|
||||
global PASSWORDS_FILE
|
||||
|
||||
PASSWORDS_FILE = CFG['passwords']['PassWordFile']
|
||||
|
||||
|
||||
def initialize(section=None):
|
||||
global SHOWEXTRACT
|
||||
global CATEGORIES
|
||||
|
@ -948,8 +954,7 @@ def initialize(section=None):
|
|||
configure_niceness()
|
||||
configure_containers()
|
||||
configure_transcoder()
|
||||
|
||||
PASSWORDS_FILE = CFG['passwords']['PassWordFile']
|
||||
configure_passwords_file()
|
||||
|
||||
# Setup FFMPEG, FFPROBE and SEVENZIP locations
|
||||
if platform.system() == 'Windows':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue