diff options
Diffstat (limited to 'config.cpp')
-rw-r--r-- | config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ Config::Config(): m_dataPath{default_datapath} pt::read_xml(config_filename, tree, pt::xml_parser::no_comments | pt::xml_parser::trim_whitespace); - m_dataPath = tree.get<std::string>("whiteboard.datapath", default_datapath); + m_dataPath = tree.get<std::string>("config.datapath", default_datapath); } catch (const std::exception& ex) { std::cerr << "Error reading config file " << config_filename << ". Using " << default_datapath << "." << std::endl; } |