Module: deluge Branch: 1.3-stable Commit: fc4ca861dab844dbbcf3d3ea5fc8aad98a00f14b
Author: Chase Sterling <chase.sterl...@gmail.com> Date: Mon Dec 3 01:14:17 2012 -0500 Fix libtorrent version check in torrent.py. fix #2223 --- deluge/core/torrent.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index dd2fa39..f2403a6 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -174,7 +174,7 @@ class Torrent(object): self.trackers = [] # Create a list of trackers for value in self.handle.trackers(): - if lt.version_minor < 15: + if lt.version_major == 0 and lt.version_minor < 15: tracker = {} tracker["url"] = value.url tracker["tier"] = value.tier -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to deluge-commit@googlegroups.com. To unsubscribe from this group, send email to deluge-commit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.