mirror of
https://git.deluge-torrent.org/deluge
synced 2025-10-04 08:08:44 +00:00
[Core] Change deprecated lt.version to lt.__version__
This commit is contained in:
parent
6b630c9fd2
commit
3a8ed2e9cb
6 changed files with 16 additions and 22 deletions
2
setup.py
2
setup.py
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue