For some reasons, importlib.machinery does not work on some platforms
This commit is contained in:
parent
27b7219b79
commit
d8b12a35df
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ the API together. Defines also a bunch of variables related to the
|
||||||
plugin env.
|
plugin env.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import importlib
|
from importlib import machinery
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
|
@ -39,7 +39,7 @@ except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
sys.path.append(plugins_dir)
|
sys.path.append(plugins_dir)
|
||||||
finder = importlib.machinery.PathFinder()
|
finder = machinery.PathFinder()
|
||||||
|
|
||||||
class PluginManager(object):
|
class PluginManager(object):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue