summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpyLoadCore.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index c6410e6a6..8cd0f2bb9 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -60,7 +60,9 @@ class Core(object):
""" pyLoad main
"""
def __init__(self):
+
chdir(dirname(abspath(__file__)) + sep)
+
self.config = {}
self.plugin_folder = "module" + sep + "plugins"
self.plugins_avaible = {}