Improved review directory setting management.

This commit is contained in:
Christian P. MOMON 2018-01-10 02:14:17 +01:00
parent c520e83488
commit f0abc44e0b

View File

@ -171,7 +171,8 @@ public class HebdobotCLI
{ {
// //
File reviewDirectory; File reviewDirectory;
if (config.getReviewDirectory() == null) logger.info("Review directory configuration value: [{}]", config.getReviewDirectory());
if (StringUtils.isBlank(config.getReviewDirectory()))
{ {
reviewDirectory = new File(configFile.getParentFile(), "reviews"); reviewDirectory = new File(configFile.getParentFile(), "reviews");
} }