Skip to content

Commit

Permalink
Small fix in docs/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
schymans authored and jirikuncar committed Jun 29, 2017
1 parent 41fd896 commit fb5d34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def object(self):
@object.setter
def object(self, value):
if value is not None:
setattr(self, '_definition', value.definition)
setattr(self, '_definition', getattr(value, 'definition', value))

def fiter_members(self, *args, **kwargs):
members = super(BaseDocumenter, self).filter_members(*args, **kwargs)
Expand Down

0 comments on commit fb5d34e

Please sign in to comment.