Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Chikage0o0 committed Oct 15, 2023
1 parent 08ab557 commit 9616e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/qbittorrent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub async fn run(client: Client, plugin_folder: impl AsRef<std::path::Path>) ->
let _child: std::process::Child;
#[cfg(target_os = "linux")]
if setting.use_internal_qbit {
let runtime_folder = PathBuf::from("data/plugins/qbittorrent/runtime");
let runtime_folder = std::path::PathBuf::from("data/plugins/qbittorrent/runtime");
let port = setting.qbit_url.split(":").last();
let port = port.unwrap_or("80").parse().unwrap_or(80);
_child = qbit::binary::run(&runtime_folder, port)?;
Expand Down

0 comments on commit 9616e61

Please sign in to comment.