[lt] Upgraded libtorrent minimum version to 1.2

As part of the preparations for libtorrent 2.0, we should stop supporting
lower versions of it.
This commit is contained in:
DjLegolas 2022-01-22 13:50:15 +02:00 committed by Calum Lind
parent a1da2058bc
commit 513d5f06e5
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ except ImportError:
raise LibtorrentImportError('No libtorrent library found: %s' % (ex)) raise LibtorrentImportError('No libtorrent library found: %s' % (ex))
REQUIRED_VERSION = '1.1.2.0' REQUIRED_VERSION = '1.2.0.0'
LT_VERSION = lt.__version__ LT_VERSION = lt.__version__
if VersionSplit(LT_VERSION) < VersionSplit(REQUIRED_VERSION): if VersionSplit(LT_VERSION) < VersionSplit(REQUIRED_VERSION):