Skip to content

Commit

Permalink
debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Moschkin committed Oct 7, 2023
1 parent 0fe4a9d commit e7b765a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/beholdhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ bool BeholdHelper::ReInitialize(bool forceReTraining, const std::string &jsonpat
if (element["max_rarity"].get<int>() >= 4) {
std::string symbol = element["symbol"].get<std::string>();
std::string url = asseturl + element["imageUrlFullBody"].get<std::string>();
// std::cout << "Reading " << symbol << "..." << std::endl;
std::cout << "Reading " << symbol << "..." << std::endl;

if (!_trainer.Train(url.c_str(), symbol.c_str(), forceReTraining))
return false;
Expand Down
1 change: 1 addition & 0 deletions src/networkhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ bool NetworkHelper::performRequest(boost::beast::http::request<boost::beast::htt
bool NetworkHelper::downloadUrl(const std::string &url, std::function<bool(std::vector<uint8_t> &&)> lambda) noexcept
{
auto uri = parseURI(url);
std::cout << "Request downloadUrl: " << url;

http::request<http::string_body> req{http::verb::get, uri.resource, 11};

Expand Down

0 comments on commit e7b765a

Please sign in to comment.