Closed rglss closed 3 years ago
Couple of solutions to this - suprised it didn't come up in testing! Happens as parse()
can return datetime.date
or None
, and None
can't be sorted.
Hi Adam Is there a plan to fix this in a future release? Thanks
Fixed in 0.5.2
!
https://github.com/the-scouts/compass-interface-core/blob/9d7eec0dc4bec76e6bdccfeacd852b034794c287/compass/core/_scrapers/member.py#L435
Need to do a little more digging and locate the exact record, but think this condition occurs when the training is unvalidated and mod["validated_date"] is None.