mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Remove global FORK_SET #1637
This commit is contained in:
parent
fc7e168337
commit
10464147a6
1 changed files with 0 additions and 2 deletions
|
@ -864,7 +864,6 @@ def configure_passwords_file():
|
||||||
def configure_sections(section):
|
def configure_sections(section):
|
||||||
global SECTIONS
|
global SECTIONS
|
||||||
global CATEGORIES
|
global CATEGORIES
|
||||||
global FORK_SET
|
|
||||||
# check for script-defied section and if None set to allow sections
|
# check for script-defied section and if None set to allow sections
|
||||||
SECTIONS = CFG[
|
SECTIONS = CFG[
|
||||||
tuple(x for x in CFG if CFG[x].sections and CFG[x].isenabled())
|
tuple(x for x in CFG if CFG[x].sections and CFG[x].isenabled())
|
||||||
|
@ -873,7 +872,6 @@ def configure_sections(section):
|
||||||
for section, subsections in SECTIONS.items():
|
for section, subsections in SECTIONS.items():
|
||||||
CATEGORIES.extend([subsection for subsection in subsections if CFG[section][subsection].isenabled()])
|
CATEGORIES.extend([subsection for subsection in subsections if CFG[section][subsection].isenabled()])
|
||||||
CATEGORIES = list(set(CATEGORIES))
|
CATEGORIES = list(set(CATEGORIES))
|
||||||
FORK_SET = []
|
|
||||||
|
|
||||||
|
|
||||||
def configure_utility_locations():
|
def configure_utility_locations():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue