fix migration

This commit is contained in:
nyaadev 2018-02-02 20:47:24 +01:00
parent d151cca4ef
commit f2411db485
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
"""Remove bencoded info dicts from mysql
Revision ID: b61e4f6a88cc
Revises: 500117641608
Revises: cf7bf6d0e6bd
Create Date: 2017-08-29 01:45:08.357936
"""
@ -12,7 +12,7 @@ import sys
# revision identifiers, used by Alembic.
revision = 'b61e4f6a88cc'
down_revision = '500117641608'
down_revision = 'cf7bf6d0e6bd'
branch_labels = None
depends_on = None

View File

@ -471,7 +471,6 @@ def _create_upload_category_choices():
return choices
def _make_torrent_file(torrent):
with open(torrent.info_dict_path, 'rb') as in_file:
bencoded_info = in_file.read()