From 70eadcd33025378cc44bf1d6e27652b83b63fde2 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Wed, 15 Jan 2014 10:40:55 +0000 Subject: [PATCH] Typo in fix for sending torrents to transmission --- headphones/transmission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/transmission.py b/headphones/transmission.py index 493a725a..3cbb021f 100644 --- a/headphones/transmission.py +++ b/headphones/transmission.py @@ -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"