Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelljkotler committed Jul 16, 2020
1 parent aa0dd87 commit b5f051b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def get_result_value(self, result):

def get_result_label(self, result):
"""Return the label of a result."""
if self.template:
if self.template:
return render_to_string(self.template, {"result": result})
else:
else:
return six.text_type(result)

def get_selected_result_label(self, result):
Expand Down

0 comments on commit b5f051b

Please sign in to comment.