Skip to content

Commit

Permalink
removed a couple of if statements
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanpa-aot committed Oct 23, 2023
1 parent 4a4b4ca commit e031aa1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions met-api/src/met_api/schemas/engagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ def get_submission_status(self, obj):
# Strip time off datetime object
date_due = datetime(now.year, now.month, now.day)

print('--date_due-:',date_due)
print('-start_date -:', obj.start_date )
print('--end_date -:', obj.end_date)
if obj.start_date <= date_due <= obj.end_date:
return SubmissionStatus.Open.value

Expand Down

0 comments on commit e031aa1

Please sign in to comment.