|
@@ -432,7 +432,7 @@ name differ from the one found in plugin's init file"
|
432
|
432
|
##@brief Return associated module name
|
433
|
433
|
def module_name(self):
|
434
|
434
|
path_array = self.path.split('/')
|
435
|
|
- if not self.path.startswith('./plugins'):
|
|
435
|
+ if 'plugins' not in self.path:
|
436
|
436
|
raise PluginError("Bad path for plugin %s : %s" % (
|
437
|
437
|
self.name, self.path))
|
438
|
438
|
return '.'.join(['lodel'] + path_array[path_array.index('plugins'):])
|