Bugfix: load config
This commit is contained in:
@@ -177,7 +177,7 @@ public class SettingsLoader {
|
||||
config.setPassword(password);
|
||||
}
|
||||
|
||||
if (config.getComputeMethod() == null && computeMethod != null) {
|
||||
if ((config.getComputeMethod() == null && computeMethod != null) || (config.getComputeMethod() != ComputeType.valueOf(computeMethod) && computeMethod != null)) {
|
||||
config.setComputeMethod(ComputeType.valueOf(computeMethod));
|
||||
}
|
||||
if (config.getGPUDevice() == null && gpu != null) {
|
||||
|
||||
Reference in New Issue
Block a user