Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sugar_network/resources/context.py4
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