Browse Source

fixes print of config.json two times

merge-requests/365/head
Jørgen Lien Sellæg 10 years ago
parent
commit
a2018ef0d7
  1. 2
      src/config.cc

2
src/config.cc

@ -20,7 +20,7 @@ void MainConfig::read() {
retrieve_config(); retrieve_config();
} }
catch(const std::exception &e) { catch(const std::exception &e) {
Singleton::terminal()->print("Error reading "+config_json + "config.json: "+e.what()+"\n"); Singleton::terminal()->print("Error reading "+config_json+": "+e.what()+"\n");
std::stringstream ss; std::stringstream ss;
ss << configjson; ss << configjson;
boost::property_tree::read_json(ss, cfg); boost::property_tree::read_json(ss, cfg);

Loading…
Cancel
Save