diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-09-08 08:43:30 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-09-08 08:43:30 (GMT) |
commit | 0bd269a12b2c734d58a7a2a4e3dd33173955b702 (patch) | |
tree | bee9b36a5dcf12ec6de084c3ae1053353290ba49 | |
parent | 4a906a368673781fee25d035235706f521bee17e (diff) |
Set proper default mime_types for context images
-rw-r--r-- | sugar_network/resources/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar_network/resources/context.py b/sugar_network/resources/context.py index 231af53..8a6c66f 100644 --- a/sugar_network/resources/context.py +++ b/sugar_network/resources/context.py @@ -56,11 +56,11 @@ class Context(Resource): def mime_types(self, value): return value - @ad.active_property(ad.BlobProperty) + @ad.active_property(ad.BlobProperty, mime_type='image/png') def icon(self, value): return value - @ad.active_property(ad.BlobProperty) + @ad.active_property(ad.BlobProperty, mime_type='image/svg+xml') def artifact_icon(self, value): return value |