Skip to content

Commit

Permalink
Reverting '.first()' change
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Hudson authored and matthiask committed May 13, 2018
1 parent f5f65de commit 8977285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptt/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,6 @@ def _mptt_refresh(self):
opts.right_attr,
opts.level_attr,
opts.tree_id_attr,
).first()
)[0]
for k, v in values.items():
setattr(self, k, v)

0 comments on commit 8977285

Please sign in to comment.