107
128
sys.path.insert(0, self._dirname)
110
131
self.mod = __import__(self.name, globals(), locals(), [], 0)
113
134
if not utils.is_commander_module(self.mod):
114
135
raise Exception('Module is not a commander module...')
116
137
if '__default__' in self.mod.__dict__:
117
138
self.method = self.mod.__dict__['__default__']