mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +00:00
More E501 line too long - multiple files
nyaa/backend.py:75 nyaa/forms.py:129,175 nyaa/models.py:88
This commit is contained in:
@@ -72,7 +72,8 @@ def handle_torrent_upload(upload_form, uploading_user=None):
|
||||
models.UserLevelType.TRUSTED) if uploading_user else False
|
||||
|
||||
# Set category ids
|
||||
torrent.main_category_id, torrent.sub_category_id = upload_form.category.parsed_data.get_category_ids()
|
||||
torrent.main_category_id, torrent.sub_category_id = \
|
||||
upload_form.category.parsed_data.get_category_ids()
|
||||
# print('Main cat id: {0}, Sub cat id: {1}'.format(
|
||||
# torrent.main_category_id, torrent.sub_category_id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user