forked from platypush/platypush
Only set up listen ports for libtorrent if it's a new session
This commit is contained in:
parent
f23afa3c53
commit
99d17b666c
1 changed files with 1 additions and 2 deletions
|
@ -408,7 +408,6 @@ class TorrentPlugin(Plugin):
|
||||||
if not self._session:
|
if not self._session:
|
||||||
# noinspection PyArgumentList
|
# noinspection PyArgumentList
|
||||||
self._session = lt.session()
|
self._session = lt.session()
|
||||||
|
|
||||||
self._session.listen_on(*self.torrent_ports)
|
self._session.listen_on(*self.torrent_ports)
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
|
|
Loading…
Reference in a new issue