Fix regression when --frame-path points to non existing directory

- fixes #1639
This commit is contained in:
Connor Tumbleson 2017-10-14 12:36:54 -04:00
parent 3ec4f360ab
commit 0271e55370
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -790,7 +790,7 @@ final public class AndrolibResources {
File dir = new File(path);
if (!dir.isDirectory()) {
if (!dir.isDirectory() && dir.isFile()) {
LOGGER.severe("--frame-path is set to a file, not a directory.");
System.exit(1);
}