Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sugar_network_webui/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar_network_webui/objects.py b/sugar_network_webui/objects.py
index ec4befe..1ebd4f9 100644
--- a/sugar_network_webui/objects.py
+++ b/sugar_network_webui/objects.py
@@ -46,7 +46,7 @@ class Object(object):
@property
def is_author(self):
- return _uid in [i.get('guid') for i in self['author']]
+ return _uid in [(i.get('guid') or i.get('name')) for i in self['author']]
def get(self, prop):
if prop == 'guid':