Skip to content

Commit 2a4dc1b

Browse files
Merge pull request #151 from OpenTriply/fixGzipExtCheck
allow .gz as input file extension
2 parents 6f0bbf4 + 543a41e commit 2a4dc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libhdt/tools/rdf2hdt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ int main(int argc, char **argv) {
170170
* didn't have any extension. The default format is defined at the top
171171
* of this file: RDFNotation notation = NTRIPLES;
172172
*/
173-
if (rdfFormat == "")
173+
if (rdfFormat == "" || rdfFormat == "gz")
174174
{
175175
rdfFormat = "nt";
176176
vout << "No input format detected. Using default: NTRIPLES." << endl;

0 commit comments

Comments
 (0)