aboutsummaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-04-19 13:46:14 -0400
committerYour Name <you@example.com>2021-04-19 13:46:14 -0400
commit2cae1aa33f80ce0844fb54a84ce103146a7fe7ad (patch)
tree26945223a2672c5a80975a7b1998622da6edcc28 /src/utils.cc
parent4618763c0e3a723bf4bb43c7b9edbce87240e0af (diff)
downloaddmtool-2cae1aa33f80ce0844fb54a84ce103146a7fe7ad.tar.gz
dmtool-2cae1aa33f80ce0844fb54a84ce103146a7fe7ad.tar.bz2
dmtool-2cae1aa33f80ce0844fb54a84ce103146a7fe7ad.zip
Started earnest work on cli
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 1df3308..d071fe6 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -17,7 +17,7 @@ nlohmann::json utils::loadJson(const std::string& path) {
}
nlohmann::json utils::loadJson(const std::string& type, const std::string& name) {
- for(auto data : utils::loadAllJson(settings::dummySettings.at(type))) {
+ for(auto data : utils::loadAllJson(settings::getString(type))) {
if(data["name"] == name) {
return data;
}