summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
Diffstat (limited to 'pyload')
-rw-r--r--pyload/__init__.py2
-rw-r--r--pyload/manager/thread/Server.py2
-rw-r--r--pyload/remote/socketbackend/create_ttypes.py2
-rw-r--r--pyload/remote/thriftbackend/ThriftClient.py2
-rw-r--r--pyload/remote/thriftbackend/ThriftTest.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/pyload/__init__.py b/pyload/__init__.py
index e29c81ad7..1ca7c4fdc 100644
--- a/pyload/__init__.py
+++ b/pyload/__init__.py
@@ -54,7 +54,7 @@ __builtin__.pypath = os.path.abspath(os.path.join(rootdir, ".."))
if "64" in platform.machine():
sys.path.append(os.path.join(pypath, "lib64"))
-sys.path.append(os.path.join(pypath, "lib"))
+sys.path.append(os.path.join(pypath, "lib", "Python", "Lib"))
sys.stdout = getwriter(get_console_encoding(sys.stdout.encoding))(sys.stdout, errors="replace")
diff --git a/pyload/manager/thread/Server.py b/pyload/manager/thread/Server.py
index 5962981e8..b724ad2f9 100644
--- a/pyload/manager/thread/Server.py
+++ b/pyload/manager/thread/Server.py
@@ -61,7 +61,7 @@ class WebServer(threading.Thread):
except Exception, e:
log.error(_("Error importing lightweight server: %s") % e)
log.warning(_("You need to download and compile bjoern, https://github.com/jonashaag/bjoern"))
- log.warning(_("Copy the boern.so to the lib folder or use setup.py install"))
+ log.warning(_("Copy the boern.so file to lib/Python/Lib or use setup.py install"))
log.warning(_("Of course you need to be familiar with linux and know how to compile software"))
self.server = "builtin"
else:
diff --git a/pyload/remote/socketbackend/create_ttypes.py b/pyload/remote/socketbackend/create_ttypes.py
index 5bfbcafa0..8c03b8576 100644
--- a/pyload/remote/socketbackend/create_ttypes.py
+++ b/pyload/remote/socketbackend/create_ttypes.py
@@ -8,7 +8,7 @@ import sys
if "64" in platform.machine():
sys.path.append(os.path.join(pypath, "lib64"))
-sys.path.append(os.path.join(pypath, "lib"))
+sys.path.append(os.path.join(pypath, "lib", "Python", "Lib"))
sys.path.append(os.path.join(pypath, "pyload", "remote"))
diff --git a/pyload/remote/thriftbackend/ThriftClient.py b/pyload/remote/thriftbackend/ThriftClient.py
index 7c2a1cb01..26658e341 100644
--- a/pyload/remote/thriftbackend/ThriftClient.py
+++ b/pyload/remote/thriftbackend/ThriftClient.py
@@ -12,7 +12,7 @@ except ImportError:
if "64" in platform.machine():
sys.path.append(os.path.join(pypath, "lib64"))
- sys.path.append(os.path.join(pypath, "lib"))
+ sys.path.append(os.path.join(pypath, "lib", "Python", "Lib"))
from thrift.transport import TTransport
#from thrift.transport.TZlibTransport import TZlibTransport
diff --git a/pyload/remote/thriftbackend/ThriftTest.py b/pyload/remote/thriftbackend/ThriftTest.py
index c9c0d3cf3..f4c927bd7 100644
--- a/pyload/remote/thriftbackend/ThriftTest.py
+++ b/pyload/remote/thriftbackend/ThriftTest.py
@@ -6,7 +6,7 @@ import sys
if "64" in platform.machine():
sys.path.append(os.path.join(pypath, "lib64"))
-sys.path.append(os.path.join(pypath, "lib"))
+sys.path.append(os.path.join(pypath, "lib", "Python", "Lib"))
from pyload.remote.thriftbackend.thriftgen.pyload import Pyload