mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-20 02:36:42 +00:00
fix migration
This commit is contained in:
parent
d151cca4ef
commit
f2411db485
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user