forked from rDrama/rDrama
This bug was discovered when lottery.check_if_end_lottery_task was failing due to a stack trace thru end_lottery session < badge_grant < send_repeatable_notifications < sanitize L208. In particular, when `flask cron` (helpers/cron.py) executes, it does not set g.v, whereas this code previously assumed that g.v : (None + User) and did not check for its presence. |
||
---|---|---|
.. | ||
actions.py | ||
alerts.py | ||
awards.py | ||
blackjack.py | ||
const.py | ||
cron.py | ||
discord.py | ||
get.py | ||
jinja2.py | ||
lazy.py | ||
lottery.py | ||
media.py | ||
offsitementions.py | ||
sanitize.py | ||
security.py | ||
slots.py | ||
stats.py | ||
treasure.py | ||
wrappers.py |