summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-11-26 12:59:28 +0100
committerRoland Reichwein <mail@reichwein.it>2022-11-26 12:59:28 +0100
commit7619dc0bef58d00c816b6628e457a85845b9edee (patch)
treef572b4dd639e0b4b4c0215e1cb1facb299ca0523 /config.cpp
parentf116c9146e53d885840ed957204d60d81fd858bd (diff)
Cleanup via cron/systemd
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;
}