mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Fixed bug in autoProcessMusic
This commit is contained in:
parent
3c5e46c212
commit
3433cc56aa
2 changed files with 7 additions and 7 deletions
|
@ -70,7 +70,7 @@ class autoProcessMusic:
|
|||
params['cmd'] = "forceProcess"
|
||||
params['dir'] = dirName
|
||||
|
||||
url = baseURL + + urllib.urlencode(params)
|
||||
url = baseURL + urllib.urlencode(params)
|
||||
|
||||
Logger.info("Waiting for %s seconds to allow HeadPhones to process newly extracted files", str(delay))
|
||||
|
||||
|
|
|
@ -6,12 +6,6 @@ from itertools import chain
|
|||
|
||||
original_ConfigObj = lib.configobj.ConfigObj
|
||||
class config(original_ConfigObj):
|
||||
def __init__(self, *args, **kw):
|
||||
if len(args) == 0:
|
||||
args = (self.CONFIG_FILE,)
|
||||
super(lib.configobj.ConfigObj, self).__init__(*args, **kw)
|
||||
self.interpolation = False
|
||||
|
||||
# constants for nzbtomedia
|
||||
NZBTOMEDIA_VERSION = 'V9.3'
|
||||
NZBTOMEDIA_TIMEOUT = 60
|
||||
|
@ -47,6 +41,12 @@ class config(original_ConfigObj):
|
|||
LOG_CONFIG = os.path.join(PROGRAM_DIR, "logging.cfg")
|
||||
SAMPLE_LOG_CONFIG = os.path.join(PROGRAM_DIR, "logging.cfg.sample")
|
||||
|
||||
def __init__(self, *args, **kw):
|
||||
if len(args) == 0:
|
||||
args = (self.CONFIG_FILE,)
|
||||
super(lib.configobj.ConfigObj, self).__init__(*args, **kw)
|
||||
self.interpolation = False
|
||||
|
||||
def issubsection(self, inputCategory, sections=None, checkenabled=False):
|
||||
# checks if the inputCategory belongs to the section
|
||||
# or returns sections with subsections matching the inputCategoryu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue