delete system import

pull/1/head
DiMartinoXBMC 2015-06-28 16:27:19 +03:00
parent 06204dcd9c
commit 70d01a0043
1 changed files with 15 additions and 22 deletions

View File

@ -10,13 +10,6 @@ platform = get_platform()
print '[script.module.libtorrent]: platform ' + str(platform) print '[script.module.libtorrent]: platform ' + str(platform)
try:
import libtorrent
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)
try: try:
#dirname = os.path.join(xbmc.translatePath('special://home'), 'addons', 'script.module.libtorrent', #dirname = os.path.join(xbmc.translatePath('special://home'), 'addons', 'script.module.libtorrent',
# 'python_libtorrent', platform['system']) # 'python_libtorrent', platform['system'])