Fix #855 force a resume on a torrent if a 'Force Recheck' is initiated

This commit is contained in:
Andrew Resch 2009-03-21 18:45:47 +00:00
commit 5644646427
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
=== Deluge 1.1.6 - (In Development) === === Deluge 1.1.6 - (In Development) ===
==== Core ==== ==== Core ====
* Fix udp trackers being classified as DHT source * Fix udp trackers being classified as DHT source
* Fix #855 force a resume on a torrent if a 'Force Recheck' is initiated
=== Deluge 1.1.5 - (16 March 2009) === === Deluge 1.1.5 - (16 March 2009) ===
==== Core ==== ==== Core ====

View file

@ -841,6 +841,7 @@ class Torrent:
"""Forces a recheck of the torrents pieces""" """Forces a recheck of the torrents pieces"""
try: try:
self.handle.force_recheck() self.handle.force_recheck()
self.handle.resume()
except Exception, e: except Exception, e:
log.debug("Unable to force recheck: %s", e) log.debug("Unable to force recheck: %s", e)
return False return False