diff options
| author | 2020-03-17 22:57:30 +0100 | |
|---|---|---|
| committer | 2020-03-18 20:14:03 +0100 | |
| commit | f21c7592b9ee464469c99cbb16c7b77ed6520505 (patch) | |
| tree | 78093e4fea328bdbbabaf93ff2d5b51a6713fd00 /bot/constants.py | |
| parent | Deseasonify: keep track of `path` on github files (diff) | |
Deseasonify: fallback on evergreen on incomplete branding
The previous implementation would simply ignore assets not present in
the current season's directory.
On the condition that at least one asset is missing, and the current
season is not the evergreen, we also poll the evergreen directory,
and use it as fallback.
This behaviour is shielded such that we only make the extra API call if
there is a missing asset, i.e. if there is something to be gained.
Diffstat (limited to 'bot/constants.py')
0 files changed, 0 insertions, 0 deletions