Refactor DELUGEUSR -> DELUGE_USER

This commit is contained in:
Labrys of Knossos 2019-01-18 22:49:00 -05:00
commit 74bc6fb5b4
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ def create_torrent_class(client_agent):
try:
logger.debug('Connecting to {0}: http://{1}:{2}'.format(client_agent, core.DELUGE_HOST, core.DELUGE_PORT))
tc = DelugeClient()
tc.connect(host=core.DELUGE_HOST, port=core.DELUGE_PORT, username=core.DELUGEUSR,
tc.connect(host=core.DELUGE_HOST, port=core.DELUGE_PORT, username=core.DELUGE_USER,
password=core.DELUGEPWD)
except Exception:
logger.error('Failed to connect to Deluge')