Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePeltier committed Dec 2, 2021
1 parent 18e7b83 commit 695c2dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

{# Load CSS and JavaScript #}
{% bootstrap_css %}
{% bootstrap_javascript %}
{% comment %} {% bootstrap_javascript %} {% endcomment %}
<script crossorigin="anonymous" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

Expand Down
1 change: 1 addition & 0 deletions src/LukeWebsite/tenMans/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def getCurrentSeason():
maxSeason = Game.objects.aggregate(Max('season__seasonNumber'))['season__seasonNumber__max']
if maxSeason is None:
return 1
return maxSeason
except ProgrammingError:
return 1

Expand Down

0 comments on commit 695c2dc

Please sign in to comment.