mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Missed a step here
This commit is contained in:
@@ -39,9 +39,9 @@ namespace SabreTools
|
||||
public bool Process()
|
||||
{
|
||||
// If file doesn't exist, error and return
|
||||
if (!File.Exists(_filename))
|
||||
if (!File.Exists(_filename) && !Directory.Exists(_filename))
|
||||
{
|
||||
_logger.Error("File '" + _filename + "' doesn't exist");
|
||||
_logger.Error("File or folder '" + _filename + "' doesn't exist");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user