Skip to content

Commit

Permalink
use read instead of readlines in the ttl appending to triples store
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni authored May 13, 2024
1 parent c866719 commit 2db3f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/goo/sparql/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def append_triples_no_bnodes(graph,file_path,mime_type_in)
response = nil
if file_path.end_with?('ttl')
bnodes_filter = file_path
file = File.foreach(bnodes_filter)
file = File.read(bnodes_filter)
response = execute_append_request graph, file, mime_type_in
else
bnodes_filter, dir = bnodes_filter_file(file_path, mime_type_in)
Expand Down

0 comments on commit 2db3f71

Please sign in to comment.