summaryrefslogtreecommitdiffstats
path: root/pyload/__init__.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 17:12:41 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 17:12:41 +0200
commit1fdd59172b321fbebf34dc2f9d1b85ad449d42f7 (patch)
tree78895b14d1d3f9dfbb3de4a7f443c581e68d6cdb /pyload/__init__.py
parentPlugins cleanup (diff)
downloadpyload-1fdd59172b321fbebf34dc2f9d1b85ad449d42f7.tar.xz
Fix lib import
Diffstat (limited to 'pyload/__init__.py')
-rw-r--r--pyload/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/__init__.py b/pyload/__init__.py
index 1ca7c4fdc..7f5ac0667 100644
--- a/pyload/__init__.py
+++ b/pyload/__init__.py
@@ -55,6 +55,8 @@ __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", "Python", "Lib"))
+sys.path.append(os.path.join(pypath, "lib"))
+
sys.stdout = getwriter(get_console_encoding(sys.stdout.encoding))(sys.stdout, errors="replace")