don't load torrent clients for nzbs. Fixes #1563

This commit is contained in:
clinton-hall 2019-03-10 08:34:56 +13:00
commit 392967780c

View file

@ -12,6 +12,8 @@ from core import logger
def create_torrent_class(client_agent):
# Hardlink solution for Torrents
tc = None
if not core.APP_NAME == 'TorrentToMedia.py': #Skip loading Torrent for NZBs.
return tc
if client_agent == 'utorrent':
try: