I hate Arcs and Rcs.

This commit is contained in:
Jordan Petridis
2017-10-22 05:15:41 +03:00
parent 6ffacaa6d8
commit 02cce8b915
4 changed files with 15 additions and 21 deletions
+1 -2
View File
@@ -129,11 +129,10 @@ pub fn get_episode(
// Construct the download path.
// TODO: Check if its a valid path
let dlpath = format!("{}/{}.{}", dl_folder, ep.title().unwrap().to_owned(), ext);
let dlpath1 = dlpath.clone();
// info!("Downloading {:?} into: {}", y.title(), dlpath);
let uri = ep.uri().to_owned();
let res = download_to(&dlpath1, uri.as_str());
let res = download_to(&dlpath, uri.as_str());
if let Err(err) = res {
error!("Something whent wrong while downloading.");