Yichong Lu commited on
Commit
be4df66
·
1 Parent(s): 3e1ed9b
Files changed (1) hide show
  1. competitions/app.py +1 -1
competitions/app.py CHANGED
@@ -330,7 +330,7 @@ def new_submission(
330
  if team_id not in team_file_api.get_team_white_list():
331
  return {"response": "You are not allowed to make submissions."}
332
 
333
- team_submission_limit_dict = team_file_api.get_team_submission_limit(user_token)
334
 
335
  lock = FileLock(f"./submission_lock/{team_id}.lock", blocking=False)
336
  try:
 
330
  if team_id not in team_file_api.get_team_white_list():
331
  return {"response": "You are not allowed to make submissions."}
332
 
333
+ team_submission_limit_dict = team_file_api.get_team_submission_limit()
334
 
335
  lock = FileLock(f"./submission_lock/{team_id}.lock", blocking=False)
336
  try: