mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
prevent 409 error in Transmission RPC. Fixes #245
This commit is contained in:
parent
06e16f5661
commit
b87f067cd2
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class Client(object):
|
|||
urlo = urlparse(address)
|
||||
if urlo.scheme == '':
|
||||
base_url = 'http://' + address + ':' + str(port)
|
||||
self.url = base_url + '/transmission/rpc'
|
||||
self.url = base_url + '/transmission/rpc/'
|
||||
else:
|
||||
if urlo.port:
|
||||
self.url = urlo.scheme + '://' + urlo.hostname + ':' + str(urlo.port) + urlo.path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue