mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-19 18:26:43 +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:
|
||||
errors['torrent_file'].append('Torrent too small for an anonymous uploader')
|
||||
|
||||
print(errors)
|
||||
# Remove keys with empty lists
|
||||
errors = {k: v for k, v in errors.items() if v}
|
||||
if errors:
|
||||
|
Loading…
x
Reference in New Issue
Block a user