summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-05-14 17:21:12 +0200
committergebele <gebele@in-silico.ch>2013-05-14 17:21:12 +0200
commitdf714985105dcb7443e98ab4c0f51a5f978b97cf (patch)
treee60ef70f20b8ec5e3cdf12d2e61ec1a9157a724d
parentaa9cc7340cb05ccb8a63ead9dfee6e8d557647d9 (diff)
fixed typo
-rw-r--r--helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.rb b/helper.rb
index 3e6e0fc..d8df7d2 100644
--- a/helper.rb
+++ b/helper.rb
@@ -250,7 +250,7 @@ module OpenTox
bad_request_error "#{@content_type} is not a supported content type."
end
if params["file"]
- nt = "<#{@uri}> <#{RDF::DC.title}> \"#{params["file"][:filename]}\".\n<#{uri}> <#{RDF::OT.hasSource}> \"#{params["file"][:filename]}\"."
+ nt = "<#{@uri}> <#{RDF::DC.title}> \"#{params["file"][:filename]}\".\n<#{@uri}> <#{RDF::OT.hasSource}> \"#{params["file"][:filename]}\"."
FourStore.put(@uri, nt, "text/plain")
end
nt ? FourStore.post(@uri, @body, @content_type) : FourStore.put(@uri, @body, @content_type)