Skip to content

Commit

Permalink
Fix get if no more sc_social_likes_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
bsuttor committed Aug 4, 2015
1 parent b56fee2 commit ffa8d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sc/social/like/controlpanel/likes.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class BaseControlPanelAdapter(SchemaAdapterBase):
def __init__(self, context):
super(BaseControlPanelAdapter, self).__init__(context)
portal_properties = getToolByName(context, 'portal_properties')
self.context = portal_properties.sc_social_likes_properties
self.context = portal_properties.get('sc_social_likes_properties', None)


class LikeControlPanelAdapter(BaseControlPanelAdapter):
Expand Down

0 comments on commit ffa8d92

Please sign in to comment.