wcs: fix is_relevant function signature (pylint)

This commit is contained in:
Frédéric Péters 2017-03-04 14:23:15 +01:00
parent 358018e8de
commit 5946fb0868
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ class WcsFormsOfCategoryCell(WcsCommonCategoryCell, WcsBlurpMixin):
def api_url(self):
return '/api/categories/%s/formdefs/' % self.category_reference.split(':')[1]
def is_relevant(self, user=None):
def is_relevant(self, context):
return bool(self.category_reference)
def render(self, context):