mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 19:32:21 +00:00
Update libtorrent minimum version checking.
This commit is contained in:
parent
71183f6c19
commit
b4d7e42973
@ -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
|
from deluge.common import VersionSplit
|
||||||
if VersionSplit(lt.version) < VersionSplit(REQUIRED_VERSION):
|
if VersionSplit(lt.version) < VersionSplit(REQUIRED_VERSION):
|
||||||
raise ImportError("This version of Deluge requires libtorrent >=%s!" % REQUIRED_VERSION)
|
raise ImportError("This version of Deluge requires libtorrent >=%s!" % REQUIRED_VERSION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user