Skip to content

Commit

Permalink
Fixes a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dansahagian committed Dec 22, 2024
1 parent b33bd07 commit 1e7561b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
__pycache__
.DS_Store
.idea/
.vscode/

.env
prod.env
Expand Down
2 changes: 1 addition & 1 deletion fbsurvivor/core/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, season: int | Season | None = None):
if isinstance(season, Season):
self.season = season
elif isinstance(season, int):
self.season: Season.objects.get(year=season)
self.season = Season.objects.get(year=season)
else:
self.season = None

Expand Down

0 comments on commit 1e7561b

Please sign in to comment.