Avoid initial ERROR when no markers.yml file (first installation)
This commit is contained in:
parent
f40cc3d6ca
commit
d5354898cb
1 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,8 @@ public class ConfigurationNode implements Map<String, Object> {
|
|||
@SuppressWarnings("unchecked")
|
||||
public boolean load() {
|
||||
initparse();
|
||||
|
||||
// If no file to read, just return false
|
||||
if (!f.canRead()) { return false; }
|
||||
FileInputStream fis = null;
|
||||
try {
|
||||
fis = new FileInputStream(f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue