mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Refactor NZB_DEFAULTDIR -> NZB_DEFAULT_DIRECTORY
This commit is contained in:
parent
a0d8940f70
commit
fafcdb4ed5
2 changed files with 4 additions and 4 deletions
|
@ -645,7 +645,7 @@ except NameError:
|
|||
|
||||
# post-processing
|
||||
def process(input_directory, input_name=None, status=0, client_agent='manual', download_id=None, input_category=None, failure_link=None):
|
||||
if core.SAFE_MODE and input_directory == core.NZB_DEFAULTDIR:
|
||||
if core.SAFE_MODE and input_directory == core.NZB_DEFAULT_DIRECTORY:
|
||||
logger.error(
|
||||
'The input directory:[{0}] is the Default Download Directory. Please configure category directories to prevent processing of other media.'.format(
|
||||
input_directory))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue