Download exercise feedback

This commit is contained in:
FliegendeWurst 2020-05-11 10:06:22 +02:00
parent 9844de220e
commit 9f1a2ab2fa

View File

@ -451,7 +451,7 @@ fn process(ilias: Arc<ILIAS>, mut path: PathBuf, obj: Object) -> impl std::futur
let href = href.unwrap(); let href = href.unwrap();
let url = URL::from_href(href); let url = URL::from_href(href);
let cmd = url.cmd.as_deref().unwrap_or(""); let cmd = url.cmd.as_deref().unwrap_or("");
if cmd != "downloadFile" && cmd != "downloadGlobalFeedbackFile" { if cmd != "downloadFile" && cmd != "downloadGlobalFeedbackFile" && cmd != "downloadFeedbackFile" {
continue; continue;
} }
// link is definitely just a download link to the exercise or the solution // link is definitely just a download link to the exercise or the solution