From 6dc314aa6bcf546339026e30da9748ca8d7bb6fe Mon Sep 17 00:00:00 2001 From: mguetlein Date: Mon, 9 Aug 2010 14:19:04 +0200 Subject: remove not necessary Yaml.load --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.rb b/application.rb index 7c653a0..2fd17a7 100755 --- a/application.rb +++ b/application.rb @@ -131,7 +131,7 @@ post '/?' do when /csv/ dataset.yaml = csv2yaml request.env["rack.input"].read when "application/rdf+xml" - dataset.yaml = YAML.load(OpenTox::Dataset.owl_to_yaml(request.env["rack.input"].read,dataset.uri)) + dataset.yaml = OpenTox::Dataset.owl_to_yaml(request.env["rack.input"].read,dataset.uri) else halt 404, "MIME type \"#{request.content_type}\" not supported." end -- cgit v1.2.3