mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-11-22 08:55:45 +02:00
If a user has a comment under the edit time limit in a comment locked torrent, but also are still affected by the new account CAPTCHA cooldown, the template would throw an error as we tried to getattr on a None object (namely, the comment_form). To fix this, we also need to check around the edit form whether the comment_form exists. |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| views | ||
| __init__.py | ||
| api_handler.py | ||
| backend.py | ||
| bencode.py | ||
| email.py | ||
| extensions.py | ||
| forms.py | ||
| models.py | ||
| search.py | ||
| template_utils.py | ||
| torrents.py | ||
| utils.py | ||