[Core] Change deprecated lt.version to lt.__version__

This commit is contained in:
Calum Lind 2016-10-17 12:40:28 +01:00
commit 3a8ed2e9cb
6 changed files with 16 additions and 22 deletions

View file

@ -231,7 +231,7 @@ class Build(_build):
_build.run(self)
try:
from deluge._libtorrent import lt
print('Found libtorrent version: %s' % lt.version)
print('Found libtorrent version: %s' % lt.__version__)
except ImportError, e:
print('Warning libtorrent not found: %s' % e)