mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +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"
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue