Specify encoding='utf-8' when opening the log file in append mode to ensure non-ASCII characters are written correctly and to avoid Unicode-related errors when writing log entries. |
||
|---|---|---|
| .. | ||
| static | ||
| __init__.py | ||
| announcements.py | ||
| config.py | ||
| main.py | ||
| models.py | ||
| stats_handler.py | ||
| utils.py | ||