Commit 70d389ad authored by mathieui's avatar mathieui
Browse files

Fix #2154

parent d8b12a35
......@@ -7,6 +7,7 @@ plugin env.
from importlib import machinery
import os
from os import path
import sys
import logging
from gettext import gettext as _
......@@ -37,7 +38,9 @@ try:
os.makedirs(plugins_conf_dir)
except OSError:
pass
default_plugin_path = path.join(path.dirname(path.dirname(__file__)), 'plugins')
sys.path.append(default_plugin_path)
sys.path.append(plugins_dir)
finder = machinery.PathFinder()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment