creating defautl template if missing
This commit is contained in:
@@ -14,6 +14,11 @@ bool DemandHandler::init() {
|
||||
if (!midas::odb::exists(this->path)) {
|
||||
TMFE::Instance()->Msg(MERROR, __FUNCTION__, "Key at %s doesn't exists",
|
||||
path.c_str());
|
||||
|
||||
midas::odb o(this->path);
|
||||
std::vector<float> v = {0.0};
|
||||
o = v;
|
||||
|
||||
initSuccess = false;
|
||||
}
|
||||
midas::odb o(this->path);
|
||||
|
||||
Reference in New Issue
Block a user