mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix the version check in _libtorrent to work as intended.
This commit is contained in:
parent
ce4b4ef48e
commit
74d59eb6ec
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ supports.
|
||||||
|
|
||||||
REQUIRED_VERSION = "0.14.9.0"
|
REQUIRED_VERSION = "0.14.9.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…
Add table
Add a link
Reference in a new issue