Check against libtorrent >15 not >16.

This commit is contained in:
Pedro Algarvio 2011-05-08 02:39:35 +01:00
parent 38906468c1
commit 9d29ca7b29
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ class Torrent(object):
Returns the time a torrent was last seen complete, ie, with all pieces Returns the time a torrent was last seen complete, ie, with all pieces
available. available.
""" """
if lt.version_minor > 16: if lt.version_minor > 15:
return self.status.last_seen_complete return self.status.last_seen_complete
self.calculate_last_seen_complete() self.calculate_last_seen_complete()
return self._last_seen_complete return self._last_seen_complete