Skip to content

Commit

Permalink
fixup! Implement upgrade procedure to migrate to the new torrent store.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elric Milon committed Jan 28, 2015
1 parent 975bc1b commit 71582e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tribler/Core/Upgrade/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from Tribler.Core.Upgrade.db_upgrader import DBUpgrader
from Tribler.Core.Upgrade.torrent_upgrade65 import TorrentMigrator65
from Tribler.Core.torrentstore import TorrentStore
from Tribler.dispersy.util import call_on_reactor_thread
from Tribler.dispersy.util import blocking_call_on_reactor_thread


# Database versions:
Expand All @@ -33,7 +33,7 @@ def __init__(self, session, db):
def update_status(self, status_text):
self.current_status = status_text

@call_on_reactor_thread
@blocking_call_on_reactor_thread
@inlineCallbacks
def check_and_upgrade(self):
""" Checks the database version and upgrade if it is not the latest version.
Expand Down

0 comments on commit 71582e4

Please sign in to comment.