Skip to content

Commit

Permalink
Merge pull request pallets-eco#1687 from dzaytsev91/small-ajax-fix
Browse files Browse the repository at this point in the history
remove useless brackets
  • Loading branch information
mrjoes authored Aug 7, 2018
2 parents 9e3d171 + faaae8b commit 49dc9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_admin/contrib/sqla/ajax.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def format(self, model):
if not model:
return None

return (getattr(model, self.pk), as_unicode(model))
return getattr(model, self.pk), as_unicode(model)

def get_one(self, pk):
# prevent autoflush from occuring during populate_obj
Expand Down

0 comments on commit 49dc9b4

Please sign in to comment.