mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 08:53:59 +01:00
Typo in fix for sending torrents to transmission
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user