mirror of
https://github.com/logos-storage/deluge.git
synced 2026-08-01 07:53:26 +00:00
Fix the version check in _libtorrent to work as intended.
This commit is contained in:
parent
ce4b4ef48e
commit
74d59eb6ec
@ -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…
x
Reference in New Issue
Block a user