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))
|
if (String.IsNullOrEmpty(affdexClassifierDir))
|
||||||
{
|
{
|
||||||
ShowExceptionAndShutDown("AFFDEX_DATA_DIR environment variable (Classifier Data Directory) is not set");
|
ShowExceptionAndShutDown("AFFDEX_DATA_DIR environment variable (Classifier Data Directory) is not set");
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
DirectoryInfo directoryInfo = new DirectoryInfo(affdexClassifierDir);
|
||||||
classifierPath = affdexClassifierDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
DirectoryInfo directoryInfo = new DirectoryInfo(classifierPath);
|
|
||||||
if (!directoryInfo.Exists)
|
if (!directoryInfo.Exists)
|
||||||
{
|
{
|
||||||
ShowExceptionAndShutDown("AFFDEX_DATA_DIR (Classifier Data Directory) is set to an invalid folder location");
|
ShowExceptionAndShutDown("AFFDEX_DATA_DIR (Classifier Data Directory) is set to an invalid folder location");
|
||||||
}
|
}
|
||||||
|
|
||||||
return classifierPath;
|
return affdexClassifierDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String GetAffdexLicense()
|
private String GetAffdexLicense()
|
||||||
|
|
Loading…
Reference in a new issue