Commit d96bfa6a authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor: do not req if iso file provided

parent 1cb61def
......@@ -782,7 +782,7 @@ sub _check_downloading($self) {
return if !$downloading && $device;
my $req_download = _search_request('download', id_iso => $id_iso2);
if ($has_cd && !$device && !$iso_file !$req_download) {
if ($has_cd && !$device && !$iso_file && !$req_download) {
$req_download = Ravada::Request->download(
id_iso => $id_iso2
,uid => Ravada::Utils::user_daemon->id
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment