Skip to content

Commit

Permalink
Add json check
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemann16 committed Sep 25, 2018
1 parent a35c2a2 commit b86a4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/i3s/io/I3SReader.cpp
Expand Up @@ -73,7 +73,7 @@ namespace pdal
throwError(std::string("Error parsing Json object. "
"This could be due to a bad endpoint."));
}
if(m_info.isMember("layers"))
if(!m_info.isMember("layers"))
throwError(std::string("Incorrect Json object"));

m_filename += "/layers/0";
Expand Down

0 comments on commit b86a4bb

Please sign in to comment.