Update libtorrent minimum version checking.

This commit is contained in:
Chase Sterling 2012-12-03 01:03:58 -05:00
parent 71183f6c19
commit b4d7e42973

View File

@ -45,9 +45,9 @@ supports.
"""
REQUIRED_VERSION = "0.14.9.0"
REQUIRED_VERSION = "0.16.1.0"
def check_version(LT):
def check_version(lt):
from deluge.common import VersionSplit
if VersionSplit(lt.version) < VersionSplit(REQUIRED_VERSION):
raise ImportError("This version of Deluge requires libtorrent >=%s!" % REQUIRED_VERSION)