Skip to content

Commit

Permalink
Merge pull request #582 from LipuFei/rm-commitnow
Browse files Browse the repository at this point in the history
use dispersy.database.commit() instead
  • Loading branch information
NielsZeilemaker committed May 8, 2014
2 parents b17ebdc + 7eeeb53 commit b8ec22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tribler/Main/vwxGUI/SearchGridManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b8ec22b

Please sign in to comment.