diff --git a/DiasForGrandpa.WPF/ViewModels/OrganizerViewModel.cs b/DiasForGrandpa.WPF/ViewModels/OrganizerViewModel.cs index f647867..9b5c9b1 100644 --- a/DiasForGrandpa.WPF/ViewModels/OrganizerViewModel.cs +++ b/DiasForGrandpa.WPF/ViewModels/OrganizerViewModel.cs @@ -67,7 +67,7 @@ private void Validate() // our code would bug out and accidently delete important files.... if (!Directory.Exists(App.Settings.DiaFolderInputPath) || - !DriveInfo.GetDrives().Any(x => x.VolumeLabel == App.Settings.DiaVolumeName) || + !DriveInfo.GetDrives().Where(x => x.IsReady).Any(x => x.VolumeLabel == App.Settings.DiaVolumeName) || Directory.GetFiles(App.Settings.DiaFolderInputPath).Length == 0) { ErrorDialog.ShowError(