Skip to content

Commit

Permalink
message
Browse files Browse the repository at this point in the history
  • Loading branch information
tryingsomestuff committed Oct 16, 2019
1 parent df918bf commit 79b6680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ typedef uint64_t u_int64_t;
#define WITH_UCI
//#define WITH_PGN_PARSER

const std::string MinicVersion = "dev";
const std::string MinicVersion = "1.00";

/*
//todo
Expand Down Expand Up @@ -3719,7 +3719,7 @@ namespace Options {
void readOptions(int argc, char ** argv) { // load json config and command line args in memory
for (int i = 1; i < argc; ++i) args.push_back(argv[i]);
std::ifstream str("minic.json");
if (!str.is_open()) Logging::LogIt(Logging::logWarn) << "Cannot open minic.json";
if (!str.is_open()) Logging::LogIt(Logging::logWarn) << "I was not able to open minic.json";
else {
str >> json;
if (!json.is_object()) Logging::LogIt(Logging::logError) << "Something wrong in minic.json";
Expand Down

0 comments on commit 79b6680

Please sign in to comment.