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