Ignore:
Timestamp:
5/15/2010 9:45:01 AM (5 years ago)
Author:
lowjoel
Message:

When we use File.Exists, we have to also check using Directory.Exists as File.Exists returns false if the path points to a directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/SchedulerPanel.cs

    r2117 r2118  
    538538                    { 
    539539                        //If the path doesn't exist, skip the file 
    540                         if (!File.Exists(file)) 
     540                        if (!(File.Exists(file) && Directory.Exists(file))) 
    541541                            continue; 
    542542 
Note: See TracChangeset for help on using the changeset viewer.