false import fix

pull/1/head
DiMartinoXBMC 2015-06-28 16:28:20 +03:00
parent 3ca766bf0e
commit 539383d14f
1 changed files with 4 additions and 1 deletions

View File

@ -129,7 +129,10 @@ class Libtorrent:
self.platform = get_platform()
try:
import libtorrent
except:
print '[script.module.libtorrent]: Imported libtorrent v' + libtorrent.version + ' from system'
except Exception, e:
print '[script.module.libtorrent]: Error importing from system. Exception: ' + str(e)
import python_libtorrent as libtorrent
try: