Skip to content

Commit

Permalink
Fixing typo on save override
Browse files Browse the repository at this point in the history
  • Loading branch information
xirdneh committed Mar 22, 2016
1 parent 9d1cb56 commit 8b15dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designsafe/libs/elasticsearch/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def save(self, **kwargs):
username = username, path = self.path,
name = self.name)
if o is not None:
return o.save()
return o
return super(Object, self).save(**kwargs)

def to_dict(self, get_id = False, *args, **kwargs):
Expand Down

0 comments on commit 8b15dc2

Please sign in to comment.