Skip to content

Commit

Permalink
Merge pull request #287 from kupsef/python2-fix-super
Browse files Browse the repository at this point in the history
Python2 fix super
  • Loading branch information
tobami authored May 2, 2020
2 parents f27db7e + 9959ee7 commit f2b640c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespeed/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class HomeView(TemplateView):
template_name = "home.html"

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context = super(HomeView, self).get_context_data(**kwargs)
context['show_reports'] = settings.SHOW_REPORTS
context['show_historical'] = settings.SHOW_HISTORICAL
historical_settings = ['SHOW_HISTORICAL', 'DEF_BASELINE', 'DEF_EXECUTABLE']
Expand Down

0 comments on commit f2b640c

Please sign in to comment.