mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
Refactor DELUGEPWD -> DELUGE_PASSWORD
This commit is contained in:
parent
74bc6fb5b4
commit
1aa0ea6e75
2 changed files with 4 additions and 4 deletions
|
@ -35,7 +35,7 @@ def create_torrent_class(client_agent):
|
|||
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.DELUGE_USER,
|
||||
password=core.DELUGEPWD)
|
||||
password=core.DELUGE_PASSWORD)
|
||||
except Exception:
|
||||
logger.error('Failed to connect to Deluge')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue