Skip to content

Commit

Permalink
fixed spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Veriny committed Nov 14, 2023
1 parent 3ebd1fe commit f05ece1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csm_web/scheduler/views/student.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def drop(self, request, pk=None):
student.save()

logger.info(
"<Drop> User %s dropped SEction %s for Student user %s",
"<Drop> User %s dropped Section %s for Student user %s",
request.user,
student.section,
student.user,
Expand Down Expand Up @@ -110,13 +110,13 @@ def attendances(self, request, pk=None):
if serializer.is_valid():
attendance = serializer.save()
logger.info(
"<Attendance:Success> Attednace %s taken for User %s",
"<Attendance:Success> Attendance %s taken for User %s",
attendance,
request.user,
)
return Response(status=status.HTTP_204_NO_CONTENT)
logger.error(
"<Attedance:FAILURE> Could not record attendance for User %s, errors %s",
"<Attendance:FAILURE> Could not record attendance for User %s, errors %s",
request.user,
serializer.errors,
)
Expand Down

0 comments on commit f05ece1

Please sign in to comment.