aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crates/yt/src/commands/status/implm.rs2
-rw-r--r--crates/yt_dlp/src/post_processors/dearrow.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/yt/src/commands/status/implm.rs b/crates/yt/src/commands/status/implm.rs
index 5832fde..2177012 100644
--- a/crates/yt/src/commands/status/implm.rs
+++ b/crates/yt/src/commands/status/implm.rs
@@ -130,7 +130,7 @@ impl StatusCommand {
"{dropped_videos_len}",
dropped_videos_len.to_string().as_str(),
)
- .replace("{watchtime_status}", watchtime_status.to_string().as_str())
+ .replace("{watchtime_status}", watchtime_status.as_str())
.replace(
"{subscriptions_len}",
subscriptions_len.to_string().as_str(),
diff --git a/crates/yt_dlp/src/post_processors/dearrow.rs b/crates/yt_dlp/src/post_processors/dearrow.rs
index 7787d68..ff4cdfa 100644
--- a/crates/yt_dlp/src/post_processors/dearrow.rs
+++ b/crates/yt_dlp/src/post_processors/dearrow.rs
@@ -9,7 +9,7 @@
// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
use curl::easy::Easy;
-use log::{error, info, trace, warn};
+use log::{info, trace, warn};
use pyo3::{
Bound, PyAny, PyErr, PyResult, Python, exceptions, intern, pyfunction,
types::{PyAnyMethods, PyDict, PyModule},