Refactor UTORRENTPWD -> UTORRENT_PASSWORD

This commit is contained in:
Labrys of Knossos 2019-01-18 22:20:59 -05:00
commit 39974e62cc
2 changed files with 4 additions and 4 deletions

View file

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