mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Refactor USELINK -> USE_LINK
This commit is contained in:
parent
d2346b0ea6
commit
28f1bc35c5
6 changed files with 9 additions and 9 deletions
|
@ -100,7 +100,7 @@ def get_dirs(section, subsection, link='hard'):
|
|||
except Exception as e:
|
||||
logger.error('Failed to add directories from {0} for post-processing: {1}'.format(watch_directory, e))
|
||||
|
||||
if core.USELINK == 'move':
|
||||
if core.USE_LINK == 'move':
|
||||
try:
|
||||
output_directory = os.path.join(core.OUTPUTDIRECTORY, subsection)
|
||||
if os.path.exists(output_directory):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue