Refactor UTORRENTWEBUI -> UTORRENT_WEB_UI

This commit is contained in:
Labrys of Knossos 2019-01-18 22:20:04 -05:00
commit 20bd765a4b
2 changed files with 5 additions and 5 deletions

View file

@ -15,8 +15,8 @@ def create_torrent_class(client_agent):
if client_agent == 'utorrent':
try:
logger.debug('Connecting to {0}: {1}'.format(client_agent, core.UTORRENTWEBUI))
tc = UTorrentClient(core.UTORRENTWEBUI, core.UTORRENTUSR, core.UTORRENTPWD)
logger.debug('Connecting to {0}: {1}'.format(client_agent, core.UTORRENT_WEB_UI))
tc = UTorrentClient(core.UTORRENT_WEB_UI, core.UTORRENTUSR, core.UTORRENTPWD)
except Exception:
logger.error('Failed to connect to uTorrent')