fix loading modules
This commit is contained in:
parent
58b9e693ee
commit
3b6bca66ca
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class ModulesLoader(object):
|
|||
|
||||
def load_module(self, name):
|
||||
try:
|
||||
module = Module(name, __import__(name, fromlist=[name]))
|
||||
module = Module(name, __import__(name, fromlist=[str(name)]))
|
||||
except ImportError, e:
|
||||
warning('Unable to load module "%s": %s' % (name, e))
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue