about summary refs log tree commit diff stats
path: root/yt_dlp/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/src/lib.rs')
-rw-r--r--yt_dlp/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/src/lib.rs b/yt_dlp/src/lib.rs
index 5bb02c1..27f1a58 100644
--- a/yt_dlp/src/lib.rs
+++ b/yt_dlp/src/lib.rs
@@ -331,8 +331,8 @@ pub async fn download(
         info!("Started downloading url: '{}'", url);
         let info_json = extract_info(download_options, url, true, true).await?;
 
+        // Try to work around yt-dlp type weirdness
         let result_string = if let Some(filename) = info_json.filename {
-            // Try to work around yt-dlp type weirdness
             filename
         } else {
             (&info_json.requested_downloads.expect("This must exist")[0].filename).to_owned()