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:
sharkykh
2017-05-14 11:14:47 +03:00
committed by Kfir Hadas
parent a3be6ee89f
commit 5e60847cb6
3 changed files with 9 additions and 5 deletions

View File

@@ -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))