Skip to content

Commit

Permalink
Merge pull request Code52#9 from sc68cal/no_network
Browse files Browse the repository at this point in the history
Enumerate fixed drives only
  • Loading branch information
andrewtobin committed Apr 4, 2012
2 parents 64908b5 + b869499 commit dad5a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enhance/Models/Directories.cs
Expand Up @@ -16,7 +16,7 @@ public Root()

var drives = FileSystem.GetDrives();

foreach(var drive in drives)
foreach(var drive in drives.Where(x=>x.DriveType != System.IO.DriveType.Network))
{
Drives.Add(new Drive(drive));
}
Expand Down

0 comments on commit dad5a1a

Please sign in to comment.