mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Fix unresolved reference to replace_links
This commit is contained in:
parent
2671becdde
commit
9f6ca4eaad
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import core
|
||||||
|
|
||||||
from libs.six import text_type
|
from libs.six import text_type
|
||||||
from core import logger, nzbToMediaDB
|
from core import logger, nzbToMediaDB
|
||||||
from core.nzbToMediaUtil import convert_to_ascii, CharReplace, plex_update
|
from core.nzbToMediaUtil import convert_to_ascii, CharReplace, plex_update, replace_links
|
||||||
from core.nzbToMediaUserScript import external_script
|
from core.nzbToMediaUserScript import external_script
|
||||||
|
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
||||||
for dirpath, dirs, files in os.walk(inputDirectory):
|
for dirpath, dirs, files in os.walk(inputDirectory):
|
||||||
for file in files:
|
for file in files:
|
||||||
logger.debug('Checking symlink: {0}'.format(os.path.join(dirpath, file)))
|
logger.debug('Checking symlink: {0}'.format(os.path.join(dirpath, file)))
|
||||||
core.replace_links(os.path.join(dirpath, file))
|
replace_links(os.path.join(dirpath, file))
|
||||||
core.remove_torrent(clientAgent, inputHash, inputID, inputName)
|
core.remove_torrent(clientAgent, inputHash, inputID, inputName)
|
||||||
|
|
||||||
if not sectionName == 'UserScript': # for user script, we assume this is cleaned by the script or option USER_SCRIPT_CLEAN
|
if not sectionName == 'UserScript': # for user script, we assume this is cleaned by the script or option USER_SCRIPT_CLEAN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue