Skip to content

Commit

Permalink
correction so the build is succesful
Browse files Browse the repository at this point in the history
  • Loading branch information
ooemperor committed Dec 11, 2023
1 parent c842e6a commit 289dc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeGrader/frontend/admin/handlers/TaskFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def get(self, task_id_: int, task_file_id: int) -> Union[str, Response]:

else: # admin is not allowed to view this task
self.flash("You are not allowed to download this file. ")
return redirect(url_for("task", id_=id_))
return redirect(url_for("task", id_=task_id_))


class DeleteTaskFile(BaseHandler):
Expand Down

0 comments on commit 289dc6e

Please sign in to comment.