fix compilation error caused in the previous commit
This commit is contained in:
parent
7ff285adcd
commit
3977f3b10b
1 changed files with 6 additions and 10 deletions
|
@ -143,19 +143,15 @@ namespace AffdexMe
|
|||
if (String.IsNullOrEmpty(affdexClassifierDir))
|
||||
{
|
||||
ShowExceptionAndShutDown("AFFDEX_DATA_DIR environment variable (Classifier Data Directory) is not set");
|
||||
}
|
||||
else
|
||||
{
|
||||
classifierPath = affdexClassifierDir;
|
||||
}
|
||||
|
||||
DirectoryInfo directoryInfo = new DirectoryInfo(classifierPath);
|
||||
}
|
||||
|
||||
DirectoryInfo directoryInfo = new DirectoryInfo(affdexClassifierDir);
|
||||
if (!directoryInfo.Exists)
|
||||
{
|
||||
ShowExceptionAndShutDown("AFFDEX_DATA_DIR (Classifier Data Directory) is set to an invalid folder location");
|
||||
}
|
||||
|
||||
return classifierPath;
|
||||
}
|
||||
|
||||
return affdexClassifierDir;
|
||||
}
|
||||
|
||||
private String GetAffdexLicense()
|
||||
|
|
Loading…
Reference in a new issue