summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cpp b/config.cpp
index 6e2e2b6..e3ef68f 100644
--- a/config.cpp
+++ b/config.cpp
@@ -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;
}