mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:19:59 +00:00
...remove debug print
Alas, hasty mergers I'm not force-pushing master on a 1030-star repo because of an accidental debug line, no sirrre.
This commit is contained in:
parent
39fcfc0058
commit
6aab5557d6
|
@ -61,7 +61,6 @@ def validate_torrent_post_upload(torrent, upload_form=None):
|
||||||
if torrent.user is None and torrent.filesize < minimum_anonymous_torrent_size:
|
if torrent.user is None and torrent.filesize < minimum_anonymous_torrent_size:
|
||||||
errors['torrent_file'].append('Torrent too small for an anonymous uploader')
|
errors['torrent_file'].append('Torrent too small for an anonymous uploader')
|
||||||
|
|
||||||
print(errors)
|
|
||||||
# Remove keys with empty lists
|
# Remove keys with empty lists
|
||||||
errors = {k: v for k, v in errors.items() if v}
|
errors = {k: v for k, v in errors.items() if v}
|
||||||
if errors:
|
if errors:
|
||||||
|
|
Loading…
Reference in a new issue