mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-04-28 12:03:11 -07:00
fix(api): use --port instead of --rpc-port for transmission-daemon
transmission-daemon 4.x uses --port for the RPC port, not --rpc-port. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -277,7 +277,7 @@ class TransmissionSession:
|
||||
"-f",
|
||||
"-g",
|
||||
self._cfg_dir,
|
||||
"--rpc-port",
|
||||
"--port",
|
||||
str(self._port),
|
||||
"--rpc-bind-address",
|
||||
"127.0.0.1",
|
||||
|
||||
@@ -112,7 +112,7 @@ class TestTransmissionSession:
|
||||
args = popen.call_args[0][0]
|
||||
assert args[0] == "transmission-daemon"
|
||||
assert "-f" in args
|
||||
assert "--rpc-port" in args
|
||||
assert "--port" in args
|
||||
assert "12345" in args
|
||||
assert "--no-auth" in args
|
||||
assert "--download-dir" in args
|
||||
|
||||
Reference in New Issue
Block a user