[extensions-web] Add images to the BINARY_TYPES set



commit f3458fd75e056593694818895875f0756e3ec64f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jan 30 14:52:47 2012 -0500

    Add images to the BINARY_TYPES set

 sweettooth/review/views.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index a5467ca..1bda386 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -35,7 +35,7 @@ IMAGE_TYPES = {
     '.svg':  'image/svg+xml',
 }
 
-BINARY_TYPES = set(['.mo'])
+BINARY_TYPES = set(['.mo', '.png', ',jpg', '.jpeg', '.gif', '.bmp'])
 
 code_formatter = pygments.formatters.HtmlFormatter(style="borland", cssclass="code")
 diff_formatter = NoWrapperHtmlFormatter(style="borland")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]