Ignore:
Timestamp:
8/4/2010 10:36:03 AM (22 months ago)
Author:
lowjoel
Message:

Fixed NotSupportedException? when issuing file=path or dir=path commands to Eraser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FolderErasureTargetConfigurer.cs

    r2232 r2237  
    123123                return true; 
    124124            } 
    125             else if (Directory.Exists(argument)) 
     125 
     126            try 
    126127            { 
    127                 folderPath.Text = argument; 
    128                 folderDelete.Checked = false; 
    129                 folderInclude.Text = folderExclude.Text = string.Empty; 
    130                 return true; 
     128                if (Directory.Exists(argument)) 
     129                { 
     130                    folderPath.Text = argument; 
     131                    folderDelete.Checked = false; 
     132                    folderInclude.Text = folderExclude.Text = string.Empty; 
     133                    return true; 
     134                } 
     135            } 
     136            catch (NotSupportedException) 
     137            { 
    131138            } 
    132139 
Note: See TracChangeset for help on using the changeset viewer.