Commit d8b12a35 authored by mathieui's avatar mathieui
Browse files

For some reasons, importlib.machinery does not work on some platforms

parent 27b7219b
......@@ -5,7 +5,7 @@ the API together. Defines also a bunch of variables related to the
plugin env.
"""
import importlib
from importlib import machinery
import os
import sys
import logging
......@@ -39,7 +39,7 @@ except OSError:
pass
sys.path.append(plugins_dir)
finder = importlib.machinery.PathFinder()
finder = machinery.PathFinder()
class PluginManager(object):
"""
......
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