mirror of https://github.com/rusefi/rusefi-1.git
another Autoupdate bug
This commit is contained in:
parent
064c96836d
commit
b389e2ba65
|
@ -46,6 +46,10 @@ public class PersistentConfiguration {
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void load() {
|
public void load() {
|
||||||
|
if (!config.isEmpty()) {
|
||||||
|
System.out.println("Configuration already loaded");
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(CONFIG_FILE_NAME));
|
BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(CONFIG_FILE_NAME));
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue