mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 15:26:56 +02:00
fix migration
This commit is contained in:
parent
d151cca4ef
commit
f2411db485
2 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue