aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-17 22:57:30 +0100
committerGravatar kwzrd <[email protected]>2020-03-18 20:14:03 +0100
commitf21c7592b9ee464469c99cbb16c7b77ed6520505 (patch)
tree78093e4fea328bdbbabaf93ff2d5b51a6713fd00 /bot/constants.py
parentDeseasonify: 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