Don't retry if not necessary...
This commit is contained in:
@@ -191,6 +191,7 @@ fn download_presentation(presentation: &Presentation, out_dir: &Path, auth: &str
|
|||||||
let try = try_download(presentation, auth);
|
let try = try_download(presentation, auth);
|
||||||
if try.is_some() {
|
if try.is_some() {
|
||||||
tuple = try;
|
tuple = try;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
tries += 1;
|
tries += 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user