Console: fix getLogLevel

This commit is contained in:
Zheng, Lei
2017-05-10 02:11:19 +08:00
committed by wmayer
parent a6abf0b25a
commit dbbc32d3af

View File

@@ -667,7 +667,7 @@ PyObject *Application::sGetLogLevel(PyObject * /*self*/, PyObject *args, PyObjec
#ifdef FC_DEBUG
l = _pcUserParamMngr->GetGroup("BaseApp/LogLevels")->GetInt(tag,-1);
#endif
}else if(strcmp(tag,"DebugDefault")) {
}else if(strcmp(tag,"DebugDefault")==0) {
#ifndef FC_DEBUG
l = _pcUserParamMngr->GetGroup("BaseApp/LogLevels")->GetInt(tag,-1);
#endif