Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rook committed Sep 10, 2024
1 parent 8c09218 commit 9ab8830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/thscoreboard/replays/views/create_replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _HandleReplay(request, replay_bytes):

try:
constant_helpers.GetModelInstancesForReplay(replay_info)
except constant_helpers.UnknownGameError as e:
except constant_helpers.UnknownGameError:
# It would be nice to actually specify the game here, but adding formatting parameters
# runs into issues with Django rendering.
raise ValidationError(
Expand Down

0 comments on commit 9ab8830

Please sign in to comment.