commit/galaxy-central: natefoo: Fix for a minor bug in e28ebc25b2e7
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/c32929b315bd/ changeset: c32929b315bd user: natefoo date: 2011-09-30 21:07:11 summary: Fix for a minor bug in e28ebc25b2e7 affected #: 1 file (-1 bytes) --- a/lib/galaxy/web/controllers/dataset.py Fri Sep 30 14:21:51 2011 -0400 +++ b/lib/galaxy/web/controllers/dataset.py Fri Sep 30 15:07:11 2011 -0400 @@ -690,7 +690,7 @@ # If data is binary or an image, stream without template; otherwise, use display template. # TODO: figure out a way to display images in display template. if isinstance(dataset.datatype, datatypes.binary.Binary) or isinstance(dataset.datatype, datatypes.images.Image) or isinstance(dataset.datatype, datatypes.images.Html): - trans.response.set_content_type( data.get_mime() ) + trans.response.set_content_type( dataset.get_mime() ) return open( dataset.file_name ) else: # Get rating data. Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket