Fix parsing error when leaving download/offline-mode

This commit is contained in:
Love 2023-03-06 07:03:26 +01:00
parent 37bc5b11c7
commit 71ded77fbc
No known key found for this signature in database
GPG Key ID: A3C10DC241C8FA9F

View File

@ -170,6 +170,7 @@ async fn main() {
for to_download in download_selections.iter() { for to_download in download_selections.iter() {
download_m3u8(to_download, None).await; download_m3u8(to_download, None).await;
} }
continue;
} }
// Save to offlinemode // Save to offlinemode
"o" => { "o" => {
@ -190,6 +191,7 @@ async fn main() {
e e
) )
} }
continue;
} }
"m" => { "m" => {
let result = unsafe { get_mut_ref(&gm) }.promote_to_online().await; let result = unsafe { get_mut_ref(&gm) }.promote_to_online().await;