Check against libtorrent >15 not >16.
This commit is contained in:
parent
38906468c1
commit
9d29ca7b29
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue