We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e432659 commit 9cb3ed3Copy full SHA for 9cb3ed3
naucse/views.py
@@ -112,7 +112,7 @@ def runs(year=None, all=None):
112
# List of years to show in the pagination
113
# If the current year is not there (no runs that start in the current year
114
# yet), add it manually
115
- all_years = model.safe_run_years.keys()
+ all_years = list(model.safe_run_years.keys())
116
if today.year not in all_years:
117
all_years.append(today.year)
118
first_year, last_year = min(all_years), max(all_years)
0 commit comments