diff --git a/python_libtorrent/__init__.py b/python_libtorrent/__init__.py index 1715126..8ede0ce 100644 --- a/python_libtorrent/__init__.py +++ b/python_libtorrent/__init__.py @@ -32,9 +32,9 @@ if __settings__.getSetting('plugin_name')!=__plugin__: log('platform ' + str(platform)) try: - if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']: + if platform['system'] in ['darwin', 'linux_x86', 'windows']: import libtorrent - elif platform['system'] in ['linux_arm']: + elif platform['system'] in ['linux_x86_64']: from ctypes import * dll_path=os.path.join(dest_path, 'libtorrent-rasterbar.so.7') log('CDLL path = ' + dll_path) diff --git a/python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.size.txt b/python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.size.txt similarity index 100% rename from python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.size.txt rename to python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.size.txt diff --git a/python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.zip b/python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.zip similarity index 100% rename from python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.zip rename to python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.zip diff --git a/python_libtorrent/linux_arm/libtorrent.so.size.txt b/python_libtorrent/linux_x86_64/libtorrent.so.size.txt similarity index 100% rename from python_libtorrent/linux_arm/libtorrent.so.size.txt rename to python_libtorrent/linux_x86_64/libtorrent.so.size.txt diff --git a/python_libtorrent/linux_arm/libtorrent.so.zip b/python_libtorrent/linux_x86_64/libtorrent.so.zip similarity index 100% rename from python_libtorrent/linux_arm/libtorrent.so.zip rename to python_libtorrent/linux_x86_64/libtorrent.so.zip