From 7eeeb53c796fb01cb932c95a290712fc08a29c67 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 8 May 2014 16:11:52 +0200 Subject: [PATCH] use dispersy.database.commit() instead --- Tribler/Main/vwxGUI/SearchGridManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tribler/Main/vwxGUI/SearchGridManager.py b/Tribler/Main/vwxGUI/SearchGridManager.py index 59d3f139239..e07bd7bd125 100644 --- a/Tribler/Main/vwxGUI/SearchGridManager.py +++ b/Tribler/Main/vwxGUI/SearchGridManager.py @@ -1140,7 +1140,7 @@ def updateTorrent(self, infohash, roothash): # Niels 09-01-2013: we need to commit now to prevent possibly forgetting the link between this torrent and the roothash dispersy = self.session.lm.dispersy - startWorker(None, dispersy._commit_now) + startWorker(None, dispersy.database.commit) def deleteTorrent(self, torrent, removecontent=False): if torrent.dslist: