Refactor TORRENT_CLIENTAGENT -> TORRENT_CLIENT_AGENT

This commit is contained in:
Labrys of Knossos 2019-01-19 00:36:12 -05:00
commit d973f4955f
4 changed files with 7 additions and 7 deletions

View file

@ -47,7 +47,7 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
delete_failed = int(cfg.get('delete_failed', 0))
nzb_extraction_by = cfg.get('nzbExtractionBy', 'Downloader')
process_method = cfg.get('process_method')
if client_agent == core.TORRENT_CLIENTAGENT and core.USE_LINK == 'move-sym':
if client_agent == core.TORRENT_CLIENT_AGENT and core.USE_LINK == 'move-sym':
process_method = 'symlink'
remote_path = int(cfg.get('remote_path', 0))
wait_for = int(cfg.get('wait_for', 2))