Skip to content

Commit

Permalink
[#401] remove device data if removed
Browse files Browse the repository at this point in the history
Fixes #401
  • Loading branch information
frankiejol committed Nov 20, 2017
1 parent 27fc2d1 commit 83cc8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Ravada/Front.pm
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ sub list_iso_images {
while (my $row = $sth->fetchrow_hashref) {
push @iso,($row);

delete $row->{device} if !-e $row->{device};
next if $row->{device};

my ($file);
Expand Down

0 comments on commit 83cc8b0

Please sign in to comment.