Skip to content

Commit

Permalink
Make PYPY3 default language
Browse files Browse the repository at this point in the history
  • Loading branch information
hieplpvip authored and leduythuccs committed Jul 31, 2024
1 parent 039e869 commit a7dcc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/models/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def display_name(self):
@classmethod
def get_python3(cls):
# We really need a default language, and this app is in Python 3
return Language.objects.get_or_create(key='PY3', defaults={'name': 'Python 3'})[0]
return Language.objects.get_or_create(key='PYPY3', defaults={'name': 'Python 3'})[0]

def get_absolute_url(self):
return reverse('runtime_list') + '#' + self.key
Expand Down

0 comments on commit a7dcc56

Please sign in to comment.