diff --git a/migrations/versions/b61e4f6a88cc_del_torrents_info.py b/migrations/versions/b61e4f6a88cc_del_torrents_info.py index cd491f7..e3bd4de 100644 --- a/migrations/versions/b61e4f6a88cc_del_torrents_info.py +++ b/migrations/versions/b61e4f6a88cc_del_torrents_info.py @@ -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 diff --git a/nyaa/views/torrents.py b/nyaa/views/torrents.py index bcb1f2e..8bd4e1e 100644 --- a/nyaa/views/torrents.py +++ b/nyaa/views/torrents.py @@ -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()