mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
Refactor DELUGEUSR -> DELUGE_USER
This commit is contained in:
parent
df5291fd4f
commit
74bc6fb5b4
2 changed files with 4 additions and 4 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue