Skip to content

Commit

Permalink
Merge pull request #151 from OpenTriply/fixGzipExtCheck
Browse files Browse the repository at this point in the history
allow .gz as input file extension
  • Loading branch information
LaurensRietveld authored Jan 7, 2018
2 parents 6f0bbf4 + 543a41e commit 2a4dc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhdt/tools/rdf2hdt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ int main(int argc, char **argv) {
* didn't have any extension. The default format is defined at the top
* of this file: RDFNotation notation = NTRIPLES;
*/
if (rdfFormat == "")
if (rdfFormat == "" || rdfFormat == "gz")
{
rdfFormat = "nt";
vout << "No input format detected. Using default: NTRIPLES." << endl;
Expand Down

0 comments on commit 2a4dc1b

Please sign in to comment.