Typo in fix for sending torrents to transmission

This commit is contained in:
rembo10
2014-01-15 10:40:55 +00:00
parent d51cdca1d8
commit 70eadcd330

View File

@@ -93,7 +93,7 @@ def torrentAction(method, arguments):
# Check if it ends in a port number
i = host.rfind(':')
if i >= 0:
possible_port = host[i+1]
possible_port = host[i+1:]
try:
port = int(possible_port)
host = host + "/transmission/rpc"