WeAreFairphone / fpangels-hp

A simple homepage for the Fairphone Angels Program
https://wearefairphone.github.io/fpangels-hp/
MIT License
2 stars 4 forks source link

Inactive heavens are not properly filtered #18

Open Ingo-FP-Angel opened 1 year ago

Ingo-FP-Angel commented 1 year ago

La Reunion is inactive but still shown on the angels homepage.

I think the line

if 'exists' and 'active' in heaven: 

should be

if heaven.get('exists') and heaven.get('active'):

Right now, the build.py just checks that the key in the YAML file exists and doesn't care if it's true or false.

StefanBrand commented 1 year ago

As a workaround, active can be removed from the heaven's source.