Fixes: 1) Replace failed daily stats with empty lists instead of crashing; 2) Fix inconsistent variable scoping and cleanup; Extra: 1) Refactor daily stats logic to handle exceptions gracefully; 2) Improve readability by grouping related metrics; 3) Add type annotations for new context variables. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| caching.py | ||
| commerce.py | ||
| db.py | ||
| emailing.py | ||
| languages.py | ||
| lists.py | ||
| messages.py | ||
| nominatim.py | ||
| security.py | ||
| seo_builders.py | ||
| vendors.py | ||