listen_on fix

pull/1/head
DiMartinoXBMC 2015-10-17 21:17:17 +03:00
parent 369fe7ea18
commit 17e878a15f
2 changed files with 802 additions and 866 deletions

File diff suppressed because it is too large Load Diff

View File

@ -352,7 +352,10 @@ class Libtorrent:
self.session.start_lsd()
self.session.start_upnp()
self.session.start_natpmp()
try:
self.session.listen_on(6881, 6891)
except:
log('listen_on(6881, 6891) error')
#tribler example never tested
#self.session.set_severity_level(self.lt.alert.severity_levels.info)