Commit 2bc1f6a9 authored by James Clark's avatar James Clark

Fix for API change

parent eb9a68ef
......@@ -97,7 +97,7 @@ def load(find_functions, search_path=None):
for ext in module_exts:
for f in search_path.files("*" + ext):
if f.basename()[:2] != '__':
module_name = f.namebase
module_name = f.stem
for module_name in modules:
pack_name = '%s.%s_%s' % (caller_module.__name__,
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