Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pancham1603 committed Dec 12, 2023
1 parent 7e21540 commit 0db2b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/users/management/commands/check_defaulters.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def check_defaulters():
defaulter = True
remarks+= f"Late check in at {nightpass.campus_resource.name}"
else:
if (nightpass.check_in_time > end_default_time.time()):
if (nightpass.check_in_time.time() > end_default_time):
defaulter = True
remarks+= f"Late check in at {nightpass.campus_resource.name}"
if not nightpass.check_out_time:
Expand Down

0 comments on commit 0db2b0c

Please sign in to comment.