mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 20:29:27 +00: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
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user